Yeah, you don't want to prevent a page refresh. That takes quite a bit of JavaScript and quite frankly would annoy users. They don't want you to change their browsers behavior. Fix your code logic. Don't mess with browser hacks.
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
Offline 665 posts
since Nov 2007