Event and method of input text

Source: Internet
Author: User

Event description OnActivate triggered when the object is set to the active element. onafterupdate fires on a data-bound object when the associated object in the data source object is successfully updated. The Onbeforeactivate object is triggered immediately before it is set to the current element. Onbeforecut is Zhong District removed from the document before the source object is fired. Onbeforedeactivate fires immediately before the activeelement changes from the current object to another object in the parent document. Onbeforeeditfocus triggers before an object contained within an editable element enters the UI activation State or the editable container becomes a control selection. Onbeforepaste fires on the target object before pasting from the system Clipboard to the document in the selected area. onbeforeupdate fires on a data-bound object before the associated object in the data source object is successfully updated. Onblur fires when an object loses input focus. OnChange is triggered when the contents of an object or selection change. The onclick is triggered when the user clicks the object with the left mouse button. OnContextMenu is triggered when the user right-clicks the client area to open a context menu. Oncontrolselect fires when a user is about to make a control selection on the object. Oncut fires on the source element when an object or selection is deleted from the document and added to the system Clipboard. OnDblClick is triggered when the user double-clicks an object. OnDeactivate fires when activeelement changes from the current object to another object in the parent document. Ondrag is continuously triggered on the source object when the drag operation is performed. Ondragend triggers on the source object when the user releases the mouse at the end of the drag operation. OnDragEnter triggers on the target element when the user drags the object to a legitimate drag target. OnDragLeave triggers on the target object when the user moves the mouse out of a legitimate drag target during a drag operation. OnDragOver triggers on the target element when the user drags the object across a legitimate drag target. Ondragstart fires on the source object when the user starts dragging the text selection or selecting the object. OnDrop triggers on the target object when the mouse button is released during a drag operation. onerrorupdate triggers on data-bound objects when there is an error updating the associated data in the data source object. Onfilterchange triggered when a visual filter changes state or completes a transition. onfocus triggers when the object gets focus. Onfocusin triggers when the element is about to be set to focus. Onfocusout triggers immediately after moving the focus to another element, triggering on the element that currently has focus. OnheLP is triggered when the user presses the F1 key while the browser is in the current window. OnKeyDown triggered when the user presses the keyboard key. onkeypress triggered when the user presses the literal key. OnKeyUp triggered when the user releases the keyboard key. Onlosecapture triggered when the object loses mouse capture. OnMouseDown is triggered when the user clicks on an object with any mouse button. Onmouseenter fires when the user moves the mouse pointer inside the object. OnMouseLeave fires when the user moves the mouse pointer out of the bounds of the object. OnMouseMove triggers when the user moves the mouse over an object. onmouseout fires when the user moves the mouse pointer out of the bounds of the object. onmouseover fires when the user moves the mouse pointer inside the object. OnMouseUp triggers when the user releases the mouse button while the mouse is over the object. OnMouseWheel triggered when the mouse wheel button is rotated. OnMove triggered when an object is moved. Onmoveend is triggered when the object stops moving. Onmovestart is triggered when the object starts moving. Onpaste fires on the target object when the user pastes data to transfer data from the system Clipboard to the document. Onpropertychange is triggered when a property change occurs on an object that occurs on an object. onReadyStateChange is triggered when the object state changes. OnResize is triggered when the size of the object is about to change. Onresizeend triggered when the user finishes changing the dimensions of the object in the control's selected area. Onresizestart is triggered when the user starts to change the dimensions of the object in the control's selected area. Onselect is triggered when the current selection changes. triggered when the Onselectstart object will be selected. Ontimeerror is triggered unconditionally when a specific time error occurs, usually caused by setting the property to an invalid value. The Addbehavior method describes a behavior that is attached to an element. AppendChild appends a child element to an object. Applyelement makes an element a child or parent element of another element. Attachevent binds the specified function to the event so that it is called whenever the event fires on the object. Blur causes the element to lose focus and trigger the onblur event. Clearattributes removes all label properties and values from the object. Click triggers the onclick event to simulate clicking. CloneNode copies a reference to an object from the document hierarchy. Componentfrompoint returns the position of the object under the specified coordinates through a specific event. Contains checks whether the object contains the given element. CReatetextrange creates a TextRange object for the element. DetachEvent cancels the binding of the specified function from the event so that the function does not receive notification when the event is triggered. DragDrop initializes the drag event. FireEvent the specified event that triggers the object. Focus causes the element to be focused and executes the code specified by the onfocus event. Getadjacenttext returns the adjacency text string. GetAttribute gets the value of the specified label property. GetAttributeNode Gets the attribute object referenced by the Attribute.name property. Getboundingclientrect gets the object that specifies the binding of the Textrectangle object collection. Getclientrects gets a rectangular collection that describes the content of the object or the layout within the client area. Each rectangle describes a straight line. GetExpression gets an expression for the given property. HasChildNodes returns a value that indicates whether the object has child objects. Insertadjacentelement inserts an element at the specified position. insertAdjacentHTML inserts the given HTML text in the element at the specified position. insertAdjacentText inserts the given text at the specified position. InsertBefore inserts an element in the document hierarchy. Mergeattributes Copy all read/writes the label attribute to the specified element. Normalize merges the adjacency Textnode object to produce a regular document Object model. ReleaseCapture releases mouse snaps for objects in the current document. RemoveAttribute deletes the given label property of the object. Removeattributenode removes the attribute object from the object. Removebehavior the behavior of the detached element. RemoveChild deletes a child node from the element. Removeexpression removes an expression from the specified property. RemoveNode removes objects from the document hierarchy. Replaceadjacenttext the adjacency text of the replacement element. ReplaceChild replaces the existing child elements with the new child elements. ReplaceNode replaces objects with other elements. scrollIntoView scrolls the object into the visible range, arranging it to the top or bottom of the window. Selecthighlight the input area of the form element. SetActive sets the object to be the current object without placing the object in focus. SetAttribute sets the value of the specified label property. Setattributenode sets the attribute object as part of the object. SetCapture sets mouse snaps for objects that belong to the current document. SetExpression sets an expression for the specified object. SwapNode exchanging the position of two objects in a document hierarchy

scrollIntoView

Event and method of input text

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.