Hello,

I have a webapp that had a drop down list to pick AM or PM. Upon
submitting, some php would return a time with the correct am or pm
(depending on what the user selected). This worked before:

<SELECT NAME="morning">
<OPTION VALUE="AM">AM
<OPTION VALUE="PM" >PM
</SELECT>

php
$daytime = $_REQUEST['morning'];

I then decided to change it to a toggle like this:
<div class="row" name="morning">
                <div class="toggle" onclick=""><span class="thumb"></
span><span class="toggleOn">PM</span><span class="toggleOff">AM</
span></div>
</div>

It looks and performs great but php now doesn't know the selected
state of the item. Does anyone know how to do this? It always returns
AM.

--~--~---------~--~----~------------~-------~--~----~
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