javascript action attribute
Translation results:
UK[ˈækʃn] US[ˈækʃən]
n.Action, activity; function, role; means; [Law] litigation
Third person singular: actions Plural: actions Present participle: actioning past tense: actioned
javascript action attributesyntax
Function: Set or return the action attribute of the form.
Syntax: formObject.action=URL
javascript action attributeexample
<html> <head> <script type="text/javascript"> function changeAction() { var x=document.getElementById("myForm") alert("表单action: " + x.action) x.action="/course" alert("表单新action: " + x.action) x.submit() } </script> </head> <body> <form id="myForm" action="/index.php"> 名称:<input type="text" value="米老鼠" /> <input type="button" onclick="changeAction()" value="改变 action 属性并提交表单" /> </form> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance
Popular Recommendations
- Leaker discloses higher than expected launch pricing for new DJI Osmo Action 5 Pro action camera
- DJI Osmo Action 5 Pro: Retailer confirms upgrade for action camera fans but also huge price increase
- RPC Action EPUsing Protobuf and Creating a Custom Plugin
- RPC Action EPImplement a simple RPC interface in Go
- Bitcoin Whales Accumulate $728 Million Worth of BTC as Price Action Wobbles
- Bitcoin Active Addresses Plunge to 2021 Lows, Signaling Weak Price Action Ahead