So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By potz
#72222 Hi,

It's not clear why I get "excepted ) before radio. Probably an escape char must be used. But why and where?
It there any rules about that?

Code: Select allclient.println("<input type="radio" name="RedLEDState" value="RED_OFF" checked="checked"> OFF<br>");


thanks
User avatar
By trackerj
#72223
Code: Select allclient.println("<input type=\"radio\" name=\"RedLEDState\" value=\"RED_OFF\" checked=\"checked\"> OFF<br>");
User avatar
By potz
#72294 Thanks!

A question more: how to recover the button state ?

I would like to pre-checked the button in the last state.

thanks
User avatar
By Barnabybear
#72325 Hi, you can use \' as well as \" , I find it easier to read:

Code: Select allclient.println("<input type=\'radio\' name=\'RedLEDState\' value=\'RED_OFF\' checked=\'checked\'> OFF<br>");


Code: Select allclient.println("<input type=\"radio\" name=\"RedLEDState\" value=\"RED_OFF\" checked=\"checked\"> OFF<br>");