html - jQuery prevent default issues in firefox and IE -


trying debug page http://goo.gl/z7xaa

seems work fine in google chrome, both firefox , internet explorer throw errors.

ie & ff both don't prevent default action i've put on 'a' elements prevent skipping top of page when clicked.

as said, works fine , no errors in chrome, various errors , faults in ie , firefox.

ie doesn't calculate rate x price totals either.. if can me debug errors can improve me js skills great.

cheers

you not accessing event correctly. in jquery, callbacks pass normalized event first parameter. change anchor click handler this:

$("a").click(function(ev) {     ev.preventdefault(); }); 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -