Hi all.
I have a web page using websockets.
I have a maindiv and inside that I have buttons and a checkbox input.
The button show up in the maindiv_click subroutine but the input device does not and does not change on/off
here is the code
any thoughts on how I can get and set the input (for on/off state)
Tom
I have a web page using websockets.
I have a maindiv and inside that I have buttons and a checkbox input.
The button show up in the maindiv_click subroutine but the input device does not and does not change on/off
here is the code
HTML:
<div id="maindiv">
<button id="#rgb_03_on">3 on</button>
<button id="rgb_03_off">3 off</button>
<button id="&build">3 stat</button>
<input id="toggle-trigger" type="checkbox" data-toggle="toggle">
</div>
any thoughts on how I can get and set the input (for on/off state)
Tom