I think I got this to work by adding http://servername/path/rc.cgi?o=1,1
I also use DHTML tag
&LIO(1,"%u",1)
to read the relay to see if its on or off and I need to set its value as a variable in my javascript but I can't seem to get anything to work.
I've got a hardware device that's controlled by a cgi server and if I use the following html it will turn on a cooling fan.
<div id="layer3" style="position:absolute; top:338; left:34; z-index:9;" ><A href=/rc.cgi?o=1,1 target="empty"><img id="FanPic" onclick = "ChangeFanState();"...
I've got a hardware device that's controlled by a cgi server and if I use the following html it will turn on a cooling fan.
<div id="layer3" style="position:absolute; top:338; left:34; z-index:9;" ><A href=/rc.cgi?o=1,1 target="empty">
<img id="FanPic" onclick = "ChangeFanState();"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.