dcsimg
<input type="image" onclick="return getUrl();"> . working in IE but not not in Netscape`
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   meenu_gupta
Posted On:   Monday, May 6, 2002 10:59 PM

Sir,
I have a form and i need to pass different different url to that.I can't give action command in form because same form has to be submitted to different servlets as per the requirement .
i am using ,
.
It is working in IE but not not in Netscape
Can you tell me what is the problem with Netscape.Why it is not working there?
Thanks
Meenu

Re: <input type="image" onclick="return getUrl();"> . working in IE but not not in Netscape`

Posted By:   Manish_Marathe  
Posted On:   Tuesday, May 7, 2002 01:45 AM

Thats an infamous battle of egos between MS and NS on what to support and what not in JavaScript/Browsers instead of joining hands to come up with standards. They just make the life of programmers hard!



Anyway coming back to the problem, try using


e.g.

Re: <input type="image" onclick="return getUrl();"> . working in IE but not not in Netscape`

Posted By:   Firat_Tiryaki  
Posted On:   Tuesday, May 7, 2002 01:10 AM

Try using the image in anchors instead of using it as an input type (as input type it works like submit button)



About | Sitemap | Contact