I\'m calling this function:
function submit_button(button_id){ $(\'#\' + button_id).attr(\'type\', \'submit\'); }
to make this button t
Why not just bind to the click event and call the form submit in your click handler?