Announcement

Collapse
No announcement yet.

Buttons for control in asp pages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Buttons for control in asp pages

    I want to add a button to my webpage to set the set point of my thermostat.

    I now know:
    hs.ControlThermostat("P1","SetSetPoint",72)

    Or since I have a variable in the page named SetPoint.
    hs.ControlThermostat("P1",'SetSetPoint",(SetPoint + 2))

    But how do I make a button that would be +2 and +4, etc. to do that.

    Jabran<pre class="ip-ubbcode-code-pre"> </pre><pre class="ip-ubbcode-code-pre"> </pre><pre class="ip-ubbcode-code-pre"> </pre><pre class="ip-ubbcode-code-pre"> </pre><pre class="ip-ubbcode-code-pre"> </pre><pre class="ip-ubbcode-code-pre"> </pre><pre class="ip-ubbcode-code-pre"> </pre><pre class="ip-ubbcode-code-pre"> </pre>

    #2
    To save it, right click on the file and select save as ...

    -Rupp

    What hair color do they put on the driver's licenses of bald men?
    Attached Files
    -Rupp
    sigpic

    Comment

    Working...
    X