Why not create a javascript function that submits the
form
function postDetails()
{
document.form1.method = "post";
document.form1.action = "url";
document.form1.submit();
}
Then in your image
<img src="images/supprimer.jpg" name="supprime"
value="<%=rsOrg.getString("ORG_ID")%>" width="9"
height="10" onClick="postDetails();">
Oliver
--- anuj <[EMAIL PROTECTED]> wrote: > you can make it a
hyperlink and call a function to
> submit onclick.
> ----- Original Message -----
> From: "paniny serou" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 28, 2001 3:14 PM
> 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
>
> This e-mail and any attachments accompanying this
> transmission may contain information which is or may
> be confidential
> and / or legally privileged. The information is
> intended for the use of the individuals or entities
> named on this
> transmission. If you are not the intended recipient
> you are hereby notified that any disclosure,
> copying, distribution or
> the taking of any action in reliance on the contents
> of this information is strictly prohibited, and that
> this e-mail and any
> attachments should be returned to the sender
> immediately. If you have received this e-mail in
> error please notify the
> sender immediately and permanently delete the
> original and any copy or print-out thereof.
>
> Although this e-mail and any attachments are
> believed to be free of any virus, or any other
> defect which might affect
> any computer or IT system into which they are
> received and opened, it is the responsibility of the
> recipient to ensure
> that they are virus free and no responsibility is
> accepted by RCI Europe for any loss or damage
> arising in any way from
> receipt or use thereof.
>
> RCI Europe. Registered office: Kettering Parkway,
> Kettering, Northants NN15 6EY, England. Registered
> in England and
> Wales: Registered No: 1148410.
>
> VAT No: 217 7047 68
>
>
>
> This e-mail and any attachments accompanying this
> transmission may contain information which is or may
> be confidential
> and / or legally privileged. The information is
> intended for the use of the individuals or entities
> named on this
> transmission. If you are not the intended recipient
> you are hereby notified that any disclosure,
> copying, distribution or
> the taking of any action in reliance on the contents
> of this information is strictly prohibited, and that
> this e-mail and any
> attachments should be returned to the sender
> immediately. If you have received this e-mail in
> error please notify the
> sender immediately and permanently delete the
> original and any copy or print-out thereof.
>
> Although this e-mail and any attachments are
> believed to be free of any virus, or any other
> defect which might affect
> any computer or IT system into which they are
> received and opened, it is the responsibility of the
> recipient to ensure
> that they are virus free and no responsibility is
> accepted by RCI Europe for any loss or damage
> arising in any way from
> receipt or use thereof.
>
> RCI Europe. Registered office: Kettering Parkway,
> Kettering, Northants NN15 6EY, England. Registered
> in England and
> Wales: Registered No: 1148410.
>
> VAT No: 217 7047 68
>
>
>
> This e-mail and any attachments accompanying this
> transmission may contain information which is or may
> be confidential
> and / or legally privileged. The information is
> intended for the use of the individuals or entities
> named on this
> transmission. If you are not the intended recipient
> you are hereby notified that any disclosure,
> copying, distribution or
> the taking of any action in reliance on the contents
> of this information is strictly prohibited, and that
> this e-mail and any
> attachments should be returned to the sender
> immediately. If you have received this e-mail in
> error please notify the
> sender immediately and permanently delete the
> original and any copy or print-out thereof.
>
> Although this e-mail and any attachments are
> believed to be free of any virus, or any other
> defect which might affect
> any computer or IT system into which they are
> received and opened, it is the responsibility of the
> recipient to ensure
> that they are virus free and no responsibility is
> accepted by RCI Europe for any loss or damage
> arising in any way from
> receipt or use thereof.
>
> RCI Europe. Registered office: Kettering Parkway,
> Kettering, Northants NN15 6EY, England. Registered
> in England and
> Wales: Registered No: 1148410.
>
> VAT No: 217 7047 68
>
>
>
> This e-mail and any attachments accompanying this
> transmission may contain information which is or may
> be confidential
> and / or legally privileged. The information is
> intended for the use of the individuals or entities
> named on this
> transmission. If you are not the intended recipient
> you are hereby notified that any disclosure,
> copying, distribution or
> the taking of any action in reliance on the contents
> of this information is strictly prohibited, and that
> this e-mail and any
> attachments should be returned to the sender
> immediately. If you have received this e-mail in
> error please notify the
>
=== message truncated ===
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
===========================================================================
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