onClick="form1.submit();"

That is, you don't need the "javascript" part of your original code.

Rob

----- Original Message -----
From: "paniny serou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 28, 2001 1:44 AM
Subject: 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

Reply via email to