Problem with control RGB by sliders on web server - ESP8266

PieterP:
A couple of remarks:

  • You don't need to prepend your url-encoded parameters with a '?' if you're using HTTP POST.
  • It would be a good idea to log/display the result of your XMLHttpRequest if it fails. It will probably tell you what's wrong.
  • You have to check for the HTTP request method (GET or POST) in you handleRoot function.

You haven't changed anything to your code?

Also, print r, g, b as String, not as int.
Inspect the XHR HTTP requests in the network tab of the developer options.