pinaldave
asked on
Select onChange change the value of Textbox
Hello Experts,
I have select like
<select name="myselect">
<option value="1">1</option>
<option value="2">2</option>
</select>
I have text box besides it
<input type="textbox" name="selectText" value="">
Now what I am looking for is that:
When we change the select to 1 I want the input textox like
<input type="textbox" name="selectText" value="textrelatedtoselect 1">
Similarly for 2
<input type="textbox" name="selectText" value="textrelatedtoselect 2">
Please guide me,
Best regards,
I have select like
<select name="myselect">
<option value="1">1</option>
<option value="2">2</option>
</select>
I have text box besides it
<input type="textbox" name="selectText" value="">
Now what I am looking for is that:
When we change the select to 1 I want the input textox like
<input type="textbox" name="selectText" value="textrelatedtoselect
Similarly for 2
<input type="textbox" name="selectText" value="textrelatedtoselect
Please guide me,
Best regards,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Any way I appriciate your help.
Regards,
---Pinal