You can use <a href> tag like this :
<a href="#" onclick="javascript:document.form1.submit()"><img
src="images/supprimer.jpg" name="supprime"
value="<%=rsOrg.getString("ORG_ID")%>" width="9" height="10"></a>
M.Chitra
www.3rdagenda.com
----- Original Message -----
From: Maizatulakmam Ali <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 1:08 AM
Subject: Re: onClick="javascript: form1.submit(); ">
> Assalamu'alaikum/Salam Sejahtera paniny,
>
> Wednesday, March 28, 2001, 10:44:34 AM, you wrote:
>
> ps> hello JSPkids !
>
> ps> so this is my problem :it looks easy
> ps> but ... I want to submit my FORM when I click on an
> ps> image
>
> ps> <img src="images/supprimer.jpg" name="supprime"
> ps> value="<%=rsOrg.getString("ORG_ID")%>" width="9"
> ps> height="10" onClick="javascript:form1.submit();">
>
> ps> this code above doesn't work but it works with a
> ps> button (see code below) :
>
> ps> <input type="submit" name="supprime"
> ps> value="<%=rsOrg.getString(1)%>" ></td>
>
> ps> I tried <input type ="image" src = "..." onClick=".."
> ps> value =<%=rsOrg.getString(1)%> >
> ps> it doesn't work...
>
> ps> thanks in advance,
> ps> Paniny SEROU
>
>
> ps> ___________________________________________________________
> ps> Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
> ps> Yahoo! Messenger : http://fr.messenger.yahoo.com
>
> ps>
===========================================================================
> ps> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> ps> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> ps> Some relevant FAQs on JSP/Servlets can be found at:
>
> ps> http://java.sun.com/products/jsp/faq.html
> ps> http://www.esperanto.org.nz/jsp/jspfaq.html
> ps> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> ps> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> Try this one:
> <img src="images/supprimer.jpg" name="supprime"
> value="<%=rsOrg.getString("ORG_ID")%>" width="9"
> height="10" onClick="document.form1.submit();">
>
>
>
> --
> Best regards,
> Maizatulakmam mailto:[EMAIL PROTECTED]
> 603-89965000 ext 6427
>
>
===========================================================================
> 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