1) Script Title: Chained Selects
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ects/index.htm
3) Describe problem: The script calls for editing the <body> tag to look like:
<body onLoad="initListGroup('series', document.forms[0].seriesName, document.forms[0].height, 'cs')">
My problem is that the site is created using templates in Dreamweaver, which means that the only way I can find of editing the body tag for the one page I need this script on, is to edit it in the master template. Doing so changes the <body> tag for every page on the site, which is fine, except that now each page shows an error marker with the following error.
Error: 'document.forms.0seriesName' is null or not an object
Is there a way to either fix this error message, or to add the onLoad to the body tag of just the one page I need it on, without changing every page in the site, while still utilizing a template?
Any help you can give me, would be greatly appreciated.



Reply With Quote


Bookmarks