Anyone?
Thanks. That did the trick! I was trying return false; or return 0; which is the correct way to cancel a submit button in html. Silly me.