I would like to create a submit button using an image with rollovers.
Here is the code:
- Code: Select all
<input type="image" src="layout/go.gif" name="submitbutton" value="Go" onMouseOver="document.submitbutton.src = 'layout/go2.gif'" onMouseOut="document.submitbutton.src = 'layout/go.gif'">
However, it produces the error that "document.submitbutton" is null or not an object.
How do i fix this?
Thanks


