NS 4.7 and field html into usercontrol

  • Thread starter Thread starter Max
  • Start date Start date
M

Max

i need to access an textbox defined into my usercontrol.
the render of the textbox is myASCX:myTextbox.

How can i access this field in js client envirnoment with NETSCAPE 4.7 ?
Thanks
 
sorry it's not correct.

i have an dropdown into my user control.
the render is :
<SELECT name="BolloAutoEdit1:cboAnno" id="BolloAutoEdit1_cboAnno">
</SELECT>

document.forms[0].elements['BolloAutoEdit1:cboAnno'].value NOT CORRECT, is
NULL

thanks


Bruce Barker said:
in netscape 4, to access a textbox, you need to know the name (not the id)
attribute. then use the dom 1.0 model.

document.forms[0].elements['textboxname'];

note: this syntax is supported by all browsers.

-- bruce (sqlwork.com)



Max said:
i need to access an textbox defined into my usercontrol.
the render of the textbox is myASCX:myTextbox.

How can i access this field in js client envirnoment with NETSCAPE 4.7 ?
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top