FormElement

FormElement

package js-html

extends ElementDOMElementNodeEventTarget

Available on js

The HTMLFormElement interface provides methods to create and modify form elements. document.forms - returns an array of HTMLFormElement objects referencing all forms on the page. document.forms[index] - returns an HTMLFormElement object referencing the form at the specified index. document.forms['id'] - returns an HTMLFormElement object referencing the form with the specified id. document.forms['name'] - returns an HTMLFormElement object referencing the form with the specified name.

Documentation [HTMLFormElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).

@see <https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement>

Variables

acceptCharset:String

action:String

autocomplete:String

read only elements:HTMLCollection

encoding:String

enctype:String

read only length:Int

method:String

name:String

noValidate:Bool

target:String

Methods

checkValidity ():Bool

reset ():Void

submit ():Void

Throws:

null DOMError

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/FormElement.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部