setup
1 xml file
1 xsl file
The xsl file just transforms the xml data into an html page. This html page also includes a form for selecting the year. I also have embedded javascript which reads the value of the form.
When I try to access the form elements;
document.forms[0].year
document.myform.year
...etc...
I get "document.forms[0] has not properties". Any idea how to access the form elements?
1 xml file
1 xsl file
The xsl file just transforms the xml data into an html page. This html page also includes a form for selecting the year. I also have embedded javascript which reads the value of the form.
When I try to access the form elements;
document.forms[0].year
document.myform.year
...etc...
I get "document.forms[0] has not properties". Any idea how to access the form elements?