Home >Web Front-end >JS Tutorial >Basic idea of using jquery to modify the submission address of the form_jquery
Basic idea:
Get the jquery object of the corresponding form by using the jquery selector, and then use the attr method to modify the corresponding action
Sample program one:
By default, this The form will be submitted to page_one.html
After clicking the button, the form submission address will be modified to page_two.html