I am using a php script to have users sign up for our mailing list. The script is working perfectly if I don't use a rollover image as my submit button. Once I use a rollover image as the submit button using javascript inputed by Dreamweaver, I get an error saying "Object does not support this property or method".
The mailing list script I'm using is located at www.round-tree.com/index2.html
This is the code I'm using for the rollover image:
<a href="javascript:window.document.list.submit();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('submit','','navigation/submit_on.gif',1)"><img src="navigation/submit_off.gif" name="submit" width="49" height="21" border="0"></a></td>
<input type="hidden" name="form" value="list">
and this is the code without the rollover image:
<a href="javascript:window.document.list.submit();"><img src="navigation/submit_off.gif" width="49" height="21" border="0"></a></td>
<input type="hidden" name="form" value="list">
Any ideas as to why it won't work with the submit button as a rollover image?
Thanks,
Scott