I have a JavaScript function that works great when I call it through an \'onClick\' method.
Basically what it does is pull data from a html form, and then based on that data, re
You need to prevent the default behaviour. You can either use e.preventDefault() or return false; In this case, the best thing is, you can use return false; here: