var $form = $('form') $('form .submit').on('click', function(){ $form.submit(); }) $form.on('submit',function(e){ e.preventDefault() })