You may have to define your button type button not type submit: <INPUT TYPE="button" onClick="javascript: return SUBMIT();"> Reg Sherwood wrote: > 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
begin:vcard n:Sosa Iglesias;Jesús tel;work:(525) 3338278 x-mozilla-html:TRUE url:http://proy.imp.mx/sippi/jesus.html org:Instituto Mexicano del Petróleo;Computer Sciencies version:2.1 email;internet:[EMAIL PROTECTED] title:Chem. Eng. adr;quoted-printable:;;Eje Central Lazaro Cardenas 152=0D=0ASan Bartolo Atepehuacan;Mexico ;DF;07730;Mexico fn:Jesús Sosa Iglesias end:vcard