Posted on: 8/18/2014 3:14:32 PM | Views : 373

I have a text box that is in an edit template. On Item Data Bound I set a hidden field with that controls client Id. I want to now use that hidden field value to set the value of the textbox in some javascript - using jquery if at all possible. Can this be done?
 
I've tried the following:
$('#' + hiddenfield.value).val("1234"); but it blows up and does not work.
 
The value in the hidden field is something like this: ctl00_MainContent_rgGrid_ctl00_ctl05_TxtYear

Go to the complete details ...