Can anybody help me with making Javascript simulate clicking on an image in a form? (EG: <input type=image>)
I already know how to make it simulate clicking on a "submit" button in a form.
window.document.forms[0].elements["submit"].click();
Input type "submit" supports this click() method, but it appears that input type "image" does not.

Thanks guys.