JavaScript objects and Array reference Encyclopedia (13)

Source: Internet
Author: User
Tags array reference
Reference | objects | array sup () the text in the string into superscript (superscript) font (<SUP>)
toLowerCase () turns text in a string to lowercase
toUpperCase () to capitalize text in a string

b.28 Submit Object

It is a property of the Form object, a Submit button (<input type= "Submit" >) in the forms.

Property

Name (name= attribute) of the name object
Value Value= Property
Method
Click Simulate mouse button
Event handlers
Onclick Click

B.29 text Object

It is a property of a Form object, a text field in the Universe (<input type= "text" >).

Property

DefaultValue text object's default value (Value= attribute)
Name of the object (Name= attribute)
Value The field has the current value, initially the same as the value= attribute (defaultvalue) But if the script modifies a value in that field, the value changes
Method
Blur move focus away from the text box
Focus moves to the text box
Select Choose Input Area
Event handlers
Onblur Lose Focus Event
Onchange changes
Onfocus Spotlight Event



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.