$('a').on('click',function(e){ e.preventDefault() e.stopPropagation() $(this).parent().click() }) $('form').on('submit',function(e){ e.preventDefault() console.log('submit!') })