I have the following submit button:
When I use the follo
You did not add the event to the function parameters. fixed version:
$(document).ready(function(){ $("#submit").submit(function(event){ event.preventDefault(); console.log('test'); } });