HTML SLIDER to ARDUINO

Hi could anyone give me example of HTML SLIDER VALUE to ARDUINO that the value of the SLIDER will show on the serial of the arduino. example in HTML slider i choose 20 then it goes to arduino catch the value of the 20 then it will serial.print " 20 "

--- this is for the web----
void handleRoot()
{
char temp[1000];

snprintf(temp, 1000,
"\

\ Light Dimmer Control\ \ body { background-color: #cccccc; font-family: Arial, Helvetica, Sans-Serif; text-align: center; border: 3px solid green;}\ h3 {Color: #12866f;}\ h1 {Color: #fff68f;}\ \ \ \

Light Dimmer Control

\ SETUP LIGHT BUTTON : \ \ 0\ \r\n\ \

Jeffrey Sasi, Daryl Lugay, Dyan Constantino

\ \ " ); server.send(200, "text/html", temp); server.send(200, "text/plain", "I'm an awasome webServer!!!");

up

If that code is part of an Arduino program then post the complete program.

If it is not part of an Arduino program then please explain what it is.

It seems to me like you have just posed a question without any context. What is it part of? Does any of it work?

...R

To do this, On the arduino side I would implement a simple HTTP web server, and on the html side I would put i some javascript to catch the onChange event on the slider and submit a POST request to the arduino.