Hi all,
I have a drop down list like this
<!--V 'FORM:SELECT:room_type'/-->
<!--B 'FORM:LABEL:room_type:Deluxe'-->Deluxe<!--/B-->
<!--B 'FORM:LABEL:room_type:Executive'-->Executive<!--/B-->
<!--B 'FORM:LABEL:room_type:Suite'-->Suite<!--/B-->
I want to capture the value selected in the drop down in a javascript
I am trying like this
var room_type = document.getElementById('room_type').value
but it gives me null .
HOwever with
<input type="text" name="charge" id="charge" value="${v PARAM:charge}$
{/v}" />
i get the value with
var charge = document.getElementById('charge').value
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to
rife-users@...
To unsubscribe from this group, send email to
rife-users+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/rife-users?hl=en-~----------~----~----~----~------~----~------~--~---