Or make only:
<a href="javascript:form1.submit();"><img
src="images/supprimer.jpg" name="supprime"
value="<%=rsOrg.getString("ORG_ID")%>" width="9"
height="10" border="0"></a>
[]s
Rodrigo.
-----Original Message-----
From: VoiD [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 07:36
To: [EMAIL PROTECTED]
Subject: Re: onClick="javascript: form1.submit(); ">
Do it like this instead... added border=0 to remove the border that
comes
with the <a> tag...
<a href="#" onClick="javascript:form1.submit();"><img
src="images/supprimer.jpg" name="supprime"
value="<%=rsOrg.getString("ORG_ID")%>" width="9"
height="10" border="0"></a>
/Daniel
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of paniny serou
Sent: den 28 mars 2001 11:45
To: [EMAIL PROTECTED]
Subject: [JSP-INTEREST] onClick="javascript: form1.submit(); ">
hello JSPkids !
so this is my problem :it looks easy
but ... I want to submit my FORM when I click on an
image
<img src="images/supprimer.jpg" name="supprime"
value="<%=rsOrg.getString("ORG_ID")%>" width="9"
height="10" onClick="javascript:form1.submit();">
this code above doesn't work but it works with a
button (see code below) :
<input type="submit" name="supprime"
value="<%=rsOrg.getString(1)%>" ></td>
I tried <input type ="image" src = "..." onClick=".."
value =<%=rsOrg.getString(1)%> >
it doesn't work...
thanks in advance,
Paniny SEROU
___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com
========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets