referencing asp controls inside java script

  • Thread starter Thread starter Steve Flitcroft
  • Start date Start date
S

Steve Flitcroft

Does not make any difference. Look at the html source and you will see no
asp tags just normal html controls.
ASP server controls get rendered to the browser as html controls.
 
Hi all
I am able to get a forms elements collection through
'document.forms(0).elements.length'
But then can not access individuel elements like:
document.forms(0).elements(1),value etc.
I always get a massage no such object exists (null reference)...
These elements are asp controls - does this make a diference??
TIA
Rea
 

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