-->
Page 2 of 2

Re: ) missing

PostPosted: Wed Dec 06, 2017 2:45 pm
by potz
Thanks everybody!

@philbowles I was not clear on my question! I don't want to read any hardware button but this software radio button. (When you create the button you can use the option checked), but after use, if you change the button's state and goes to an other page an be back, the option checked will be again displayed. I would like to see the real/actual button state.

I'm not 100% sure to be clear... sorry :(

Re: ) missing

PostPosted: Thu Dec 07, 2017 12:55 am
by villTech
you can attach the radio button to a variable in your esp8266 (server).
change the variable on tick of your button.
read the variable when loading your button on your web page. variable value will tell if your button is checked or not.

Re: ) missing

PostPosted: Thu Dec 07, 2017 7:04 am
by potz
@Barnabybear sure it's more clear with ' !

@villTech, right but how to attribute a variable to a "radio switch button" ?

Thanks

Re: ) missing

PostPosted: Tue Dec 26, 2017 2:06 pm
by potz
Hi philbowles,

It was not clear. i would like to read and pre-check the radio button; not any HW button!

Thanks