<input type="submit" value="Submit" onclick='this.form.action="somethingelse";' />
Or you can modify it from outside the form, with javascript the normal way:
document.getElementById('form_id').action = 'somethingelse';
More Related Contents:
- Two submit buttons in one form
- Submitting a form by pressing enter without a submit button
- Use a normal link to submit a form
- Multiple Forms or Multiple Submits in a Page?
- If an HTML form has two buttons, how do I know which got clicked?
- HTML form with multiple “actions”
- How to collect and manipulate data in HTML using
- Disabling Chrome Autofill
- POST unchecked HTML checkboxes
- Chrome ignores autocomplete=”off”
- Put icon inside input element in a form
- Does form data still transfer if the input tag has no name?
- When submitting a GET form, the query string is removed from the action URL
- Is autocomplete=”off” compatible with all modern browsers?
- Multiple submit buttons in an HTML form
- Is well formed without a ?
- HTML radio buttons allowing multiple selections
- Disable spell-checking on HTML textfields
- Why does file upload not work without the enctype property?
- HTML form with two submit buttons and two “target” attributes
- What characters are allowed in the HTML Name attribute inside input tag?
- Is there a valid way to disable autocomplete in a HTML form?
- How do I make a field required in HTML?
- Forms with action=””
- Submit HTML form in a new tab
- HTML Input is not updating value attribute on change
- How to remove x and y on submit in HTML form with Image type button?
- Custom HTTP Request headers in HTML
- Form submit button will not submit when name of button is “submit” [duplicate]
- How can I pre-populate html form input fields from url parameters?