I was wondering of a quick way possibly using jQuery of changing an INPUT’s value using SELECT.
Any help would be appreciated,
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Bind an event handler to the
<select>which will assign the selected value as the input’s value:Depending on your specific requirements, you may or may not need to trigger the handler once on page load (will need if the input is to be set to the initially selected option).
You can try it here.