all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

formAction attribute | formAction property

Overrides the action attribute (where the data on a form is sent) on the parent form element.

This property is read/write.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.19.6Internet Explorer 10

 

Syntax

HTML
<element formAction="sURL" ... >

 

JavaScript
object.formAction = sURL
sURL = object.formAction

 

Property values

Type: DOMString

String containing a relative or absolute web address or URL.

Standards information

See also

HTMLButtonElement
HTMLInputElement
input type=image
formMethod
formEnctype
formNoValidate

 

 

Show:
© 2014 Microsoft