rohittripathi — 2011-03-18T01:14:39-04:00 — #1
<select name="select" >
<option value="0">Select any one</option>
<td><input name="designation" type="text" id="designation" /></td>
<td><input name="organization" type="text" id="organization" /></td>
please help me how to hide both text box after select Trainee value from listmenubox
and after select Product both textbox show
please help how to hide and show after select value from listmenu box, textbox hide and when i select another value then it show
please help me as possible as
paul_wilkins — 2011-03-18T02:38:36-04:00 — #2
- gain a reference to the form
- gain a reference to the select field
- associate a function with the onchange event of that select field
- the function checks the selected option's value, and:
4.1 hides the two text boxes
4.2 or shows the two text boxes
Do you know how to achieve those basics as outlined above?
Let us know if you have trouble with any of the above, and we'll take you through the best ways to achieve them.
rohittripathi — 2011-03-18T03:50:50-04:00 — #3
Thank's for replay
i have try some type of function and code but not work that
may u help me , some practicaly or with sourcecode then i will get some good info
give me some code for doing that
paul_wilkins — 2011-03-18T03:53:20-04:00 — #4
Any script that is given relies entirely on the HTML code you will put it with.
What is the HTML form that your script will need to work with, and what script do you currently have?
We will happily teach people how to do things here. Do you want to learn?