K
Karl Prosser
i have various usercontrols that get dynamically into a page
my usercontrol has html Input fields,
and from javascript i need to access them, however to access them i
need to know the form..
currently the code i use to generate the javascript i do for example
....
document.forms[0]." + GRIDENTER.ClientID + @".value= 'YES';
....
(gridenter is a htmlinputtext )
which works, however what if there is more than one form in the host
page
surely there is a way i can get the clientID of the controls host
form.
Karl
my usercontrol has html Input fields,
and from javascript i need to access them, however to access them i
need to know the form..
currently the code i use to generate the javascript i do for example
....
document.forms[0]." + GRIDENTER.ClientID + @".value= 'YES';
....
(gridenter is a htmlinputtext )
which works, however what if there is more than one form in the host
page
surely there is a way i can get the clientID of the controls host
form.
Karl