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
Looks like your form is submitting which is the default behaviour, you can stop it with this: