Javascript question . . .

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi all,

I'm storing the client ID of an element in a hidden field on the client. How
can I use this hidden field to get the object and then change it's value?

Regards
John.
 
Hi john,
You can find a control on the form in javascript by using getElementById.
Sample code
var ctl = document.getElementById('controlId') ;
ctl.value = "something";
HTH
srini
 
Back
Top