File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Different behaviours in firefox and Explorer

 
Kevin manoj
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a drop box on the page. When user select an option, I add a "onclick" event handler to redirect the user to different pages. It works okay for firefox. But It does not work for IE.

Is there anyone who encounter the same problem as me? How do you solve it?

Thanks
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is a drop down box? A select element?

If you are talking about a select element, you should be using onchange or onblur.

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Event handling across browsers is a royal pain in the neck because of IE's insistance of doing things in non-standard ways.

Be aware that the event handling models will be significantly different between IE and the standards-compliant browsers.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic