Link to home
Start Free TrialLog in
Avatar of pinaldave
pinaldaveFlag for India

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="textrelatedtoselect1">
Similarly for 2
<input type="textbox" name="selectText" value="textrelatedtoselect2">

Please guide me,
Best regards,
ASKER CERTIFIED SOLUTION
Avatar of devic
devic
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pinaldave

ASKER

I end up using server side thing.
Any way I appriciate your help.
Regards,
---Pinal