I\'ve done a lot of searching but can\'t find out why my jQuery .submit() will not trigger. I\'ve also tried with .click() for the submit button.>
.submit()
.click()
For dynamically generated elements, you should delegate the events, you can use the on method, try the following:
on
$(document).ready(function() { $(document).on('click', 'input[type=submit]', function() { alert('test'); return false; }); });