Hi,
Its to sad that there are no events defined for Image button defined by
netscape.
Take a look at this url.
http://developer.netscape.com/docs/manuals/htmlguid/index.htm?content=tags10
.htm#tags:INPUT
we need to work out another solution if it needs to run on netscape.
May be you should try in latest netscape navigator.
chandru
----- Original Message -----
From: sudha <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 12:37 PM
Subject: Re: image input type
> hi
> it is working fine in IE
> but for netscape it is not calling the onclick function of javascript
> sudha
>
> chandruinjava wrote:
>
> > Hi sudha,
> >
> > Nice question.
> > I got the same problem.
> > What I did was,
> > Had a hidden field.
> > OnClick of the image button I called a javascript function
> > setWhichButton(this);
> > Inside this function,get the name of the image button and assign it
to
> > the hidden field value.
> > Now you can know which button is clicked by getting the value of the
> > hidden field.
> > try it out or I will give u the code.
> > chandru
> >
> > ----- Original Message -----
> > From: sudha <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 20, 2000 6:55 PM
> > Subject: image input type
> >
> > > hi
> > > i am placing two image input types on my from
> > > and the same form is submitted using two image buttons
> > > but in jsp if try to retrieve the image name we get in the name as
> > > name/value pair
> > > name.x and name.y
> > > but i want to know how to get the name of the image button thorugh
> > > which we have submitted ..
> > > if it is single image button we can slove it by putting a hidden
> > > varible
> > > but if it two image button how to get it done
> > >
> > > i want to know how to get the name of the image button through which
we
> > > have submitted the form
> > > pls........it should work in netscape also
> > > sudha
> > >
> > >
> >
===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > > 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
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Talk to your friends online with Yahoo! Messenger.
> > http://im.yahoo.com
> >
> >
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> > 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".
> 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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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