EDITABLE CODE:
LiveDemo:jQuery - Submit Form Elements using submit() Method
Note:The parameter is a function that is execute each time the event in triggered.