Getting some lag when applying e.preventDefault();
- $(".change_page").click(function(e){
- e.preventDefault();
- do_stuff();
- });
I noticed when I click one of these links, there is an ever so slight lag on all browsers. Maybe less than half a second, but it's noticeable.
Now, when I remove e.preventDefault() and use return false instead, everything runs a lot smoother.
Any ideas?
Thanks!