I have a question about JS. I am trying to achieve the following.
I have a <select> list with 4 options viz US, Canada, China and Other. Lets call it List1. I have a second list, List2, whose values depend on List1.
Now whenever user chooses US, Canada or China from List1, the options in the List2 changes. I got this part working.
Have a look here, http://verticalinsanity.com/ws/states2.html
Now, the 4th option, Other, in List1 is for the user to enter their own values if their choice is not in the list. So somehow when the user selects 'Other', i want them to be able to enter whatever they want in a text field.
Is there a way to write a function that whenever the user selects 'Other', the list box changes to a text box? Or is there any other way to accomplish that?
Thanks a million to whoever helps me out and may God fulfill your wish of sleeping with Elle Mcphearson (ok, thats my dream!)