I'm a beginner when it comes to web dev, javascript, etc.

Below is working code using separate on/off buttons but I'd like to
use the iUI on/off toggle.

Can someone point me in the right direction?

thx


--------------

        <div id="Kitchen" title="Kitchen" class="panel">
    <fieldset>
        <div class="row">
            <label>Lighting</label>
            <div onclick="">
                        <form method="post">
                                <input type="hidden" name="control_device" 
value="Kitchen Lights">
                                <input class="formbutton" type="submit" 
name="action_on"
value="On">
                                <input class="formbutton" type="submit" 
name="action_off"
value="Off">
                                <select class="formdropdown" name="selectdim" 
SIZE="1"
onchange="SubmitForm(this)">
                                <option selected value="0">0%</option>
                                <option value="10">10%</option>
                                <option value="20">20%</option>
                                <option value="30">30%</option>
                                <option value="40">40%</option>
                                <option value="50">50%</option>
                                <option value="60">60%</option>
                                <option value="70">70%</option>
                                <option value="80">80%</option>
                                <option value="90">90%</option>
                                <option value="100">100%</option>
                                </select>
                        </form>
                        </div>
                </div>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to