I have the following submit button:
When I use the follo
Have you tried passing the event through as a variable?
$(document).ready(function(){ $("#submit").submit(function(e){ e.preventDefault(); console.log('test'); } });