-->
Page 3 of 3

Re: Radio button not working

PostPosted: Wed Jan 10, 2018 6:51 am
by potz
Thanks for the informations about Ajax.

But you confirm that we cannot modifiy this example: https://blog.thesen.eu/wp-content/uploads/2015/08/ESP_WebServerAP.zip (replace the button with radio button ) without Ajax ?
And if we add a button "Submit" ?

Thanks

Re: Radio button not working

PostPosted: Thu Jan 11, 2018 11:49 am
by martinayotte
Having Ajax calls to onClick from buttons are actions taking effect immediately, while having radio buttons submitted from a form with submit button is taking effect only when the submit button is pressed and the form transmitted by a POST request defined in "action" property.

Those are 2 differents ways, but both are possible. But you need to learn how by looking at tons of HTML examples available on the internet, most of them not related to ESP.