$('form').each(function(index, element){var form = $(element);var submitBtn = $(form.find('[type=submit]'));submitBtn.attr('disabled',false).removeClass('disabled');}); ;