I am writing a search form. There are several fields the user will be able to use to search. I want to:
1) create a single form
2) associate an image to each field which onclick, submits form
Does not sound complicated at all ... I just cannot get it to work. I have tried
every one of them gives me an error - They all say that submit is not a function. I am using FireFox.
Thank you all for you help!
Jose
1) create a single form
2) associate an image to each field which onclick, submits form
Does not sound complicated at all ... I just cannot get it to work. I have tried
Code:
<img .... onClick="submit()" ... >
<img .... onClick="document.FormName.submit()" ... >
<a href="javascript: document.FormName.submit()" ...><img ...></a>
every one of them gives me an error - They all say that submit is not a function. I am using FireFox.
Thank you all for you help!
Jose