This is more of a javascript question... sorry to clutter the newsgroup
with it... but am still hoping someone can shed some insight.

In theory this should be trivial.... all I want to do is have an image
map perform some operation when it is clicked.  I currently have a bean
that stes/gets properties (thanks for the help Karl) from a JSP page.
This will happen when the user clicks the "submit" button.... now, I do
not wish to use the HTML built in submit button, such as

<INPUT TYPE=SUBMIT>

I want to define my own, eg:

<a href="\\" onClick="javascript: return SUBMIT();"><img border="0"
src="../images/search.gif"></a>

where SUBMIT is a javascript function that does something along the
lines of  parent.MainWindow.document.form.submit().
The reason being, I want to use my own button image, instead of the HTML
defined one.  I guess the question is, can I do the submit without using
javascript and still use my own button image? Or how do I write the HTML
to submit the page in the same manner the built in HTML submit button
does (and if so, how).

Thanks

Reg Sherwood

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to