public interface DOMFormElement extends DOMElement
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Returns a string that represents the 'action' attribute value.
返回表示“操作”属性值的字符串。 |
java.util.List<DOMFormControlElement> |
getControls()
Returns a collection of all control elements in the form.
返回表单中所有控件元素的集合。 |
java.lang.String |
getMethod()
Returns a string that represents the 'method' attribute value.
返回表示“方法”属性值的字符串。 |
java.lang.String |
getName()
Returns a string that represents the 'name' attribute value.
返回表示“名称”属性值的字符串。 |
void |
reset()
Restores a form element's default values.
恢复表单元素的默认值。 |
void |
submit()
Submits the form.
提交表格。 |
getAttribute, getAttributes, getBoundingClientRect, getInnerHTML, getInnerText, hasAttribute, removeAttribute, scrollToBottom, scrollToTop, setAttribute, setInnerHTML, setInnerText
appendChild, click, compareDocumentPosition, getChildren, getNextSibling, getNodeName, getNodeType, getNodeValue, getParent, getParentFrameId, getPreviousSibling, getTextContent, getXPath, insertChild, removeChild, replaceChild, setNodeValue, setTextContent
addEventListener, dispatchEvent, getEventListeners, removeEventListener
evaluate, evaluate, findElement, findElements
java.lang.String getAction()
java.lang.String getName()
java.lang.String getMethod()
void reset()
void submit()
java.util.List<DOMFormControlElement> getControls()