Yeah, I'd like to know how to do that too if it's possible. The trouble is that since the html is already loaded into the browser, you would have to reload the page before you could display more html. You could do that of course, passing all current values that the person has already entered into the new page. Seems kind of messy and user confusing though. You might consider popping up a prompt or a popup window to have them enter a value if they choose other. You can then assign the value of the prompt box/pop up window text box to a hidden input on the page. Not a real clean method either. Then there's the deal with the 'other' situation on the next page idea. Of course it may not fit into your scenario or application design. Even simpler, you could just give them a text box on that page that is disabled until they choose 'other'. Then when they choose 'other' the box can be enabled so they can enter their other value. Or you could use radio buttions instead and show a text box right next to the 'other' choice so they can enter it at that point.
All that talking and I haven't really answered the question! Good luck.
In order to implement the show hide i have written a function which takes two arguments: the first one being the span id and the other being the name of the select box.
<html>
<head>
hi!
no'p! this way is not so clear & soft (but i dont know the other way; may be someone else?):
layers in netscrap have their own different document object, so, u wuld have to neste form tags (in every layer (span) u shuld have <form>...</form>) - that means new problems with sendin data 2 server (as i know, only one form might be submited), so, u have 2 create another hidden form in wich u wuld copy all needed values from those forms that are in layers and than submit this one... wooof! looks like i told it
Ok . . . I've been trying to fix this for too long. It works great with just one item like that, but not with 2. I need one for State and Country. I can't seem to get it to work with Country. These are the changes I made for Country:
<select onChange="flip('reasonBlock',this);">
<select onChange="flip('reasonBlock2',this);">
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.