$(document).ready(function() { $('._sendContact').each(function() { $(this).click(function() { $('#sendContactForm').submit(); return false; }) }); });