i have a dropdownlist control in asp.net which resides in a user control .The yuser control has a updatepannel .I want to set the dropdown selected value to a hidden field .How will i do this in javascript /Jquery .I don’t want to use server code ?
Share
With jQuery it’s pretty straightforward:
See it in action: http://www.jsfiddle.net/YjC6y/15/
(you would have to change the type from “text” to “hidden”)