Implement submit handlers for jQuery Mobile forms.