The small () method in JavaScript uses a detailed knowledge of the basics

This method causes to be displayed in a small font, as if it were a string in a tag.Grammar String.small () The following are the details of the parameters: NA return value: Return string label Example: javascript

The use of the FontColor () method to handle strings in JavaScript basics

This method will cause as if it were in a string that is displayed in the specified color tag.Grammar String.fontcolor (color) The following are the details of the parameters: Color: The string represents a hexadecimal RGB ternary or

Introduction to the use of the fixed () method in JavaScript basic knowledge

This method causes as if it were a string in a label that is displayed in a fixed spacing font.Grammar String.fixed () The following are the details of the parameters: NA return value: Returns the label of a string Example:

Explain the use of Blink () method in JavaScript basics

This method causes a string to blink as if it were a blink tag.Grammar String.blink () The following are the details of the parameters: NA: return value: Returns a string with a tag. Example: javascript String Blink ()

Introduction to the use of toUpperCase () method in JavaScript basics

This method returns the call string value converted to uppercase.Grammar String.touppercase () The following are the details of the parameters: NA return value: Returns a string representing the specified object Example:

Introduction to the use of substring () method in JavaScript basics

This method returns a subset of a string object.Grammar String.substring (Indexa, [INDEXB]) The following are the details of the parameters: Indexa: Integers between 0 and 1 that are less than the length of the string.

The slice () method in JavaScript uses a detailed knowledge of the basics

This method extracts part of the string and returns a new string.Grammar String.slice (Beginslice [, Endslice]); The following are the details of the parameters: Beginslice: Start extraction from zero-based index position Endslice:

The LastIndexOf () method in JavaScript uses a detailed knowledge of the basics

This method calls a string object that returns the value specified by the index last occurrence, begins the search in the Fromindex or returns 1 if the value is not found.Grammar String.LastIndexOf (searchvalue[, Fromindex]) The

How to use the Length property in JavaScript _ basics

This property returns the number of characters in the string.Grammar String.Length The following are the details of the parameters: A string return value: Returns the number of characters in a string.Example: javascript

Introduction to the use of positive_infinity values in JavaScript basics

This is a special value that represents any value greater than number.max_value. This value is represented as "infinity." This value is similar to the infinity in its math. For example, anything multiplied by positive_infinity result is

The use of number.negative_infinity values in JavaScript-basic knowledge

This is a special number that represents a value less than number.min_value. This value is represented as "negative infinity." This value is similar to the infinity in its mathematical behavior. For example, any thing multiplied by negative_infinity

How to use Number.MAX_VALUE properties in JavaScript _ basics

The Number.MAX_VALUE property belongs to a static number object. This represents the maximum number of possible positive numbers that JavaScript can work with in a constant. The constant has an actual value of Grammar You can access this value

Deep understanding of the basics of objects in JavaScript

JavaScript is an object-oriented programming (OOP) language. A programming language can be referred to as object-oriented, providing developers with four basic functions: Encapsulation-stores related information, whether data or methods, or

Tutorials for implementing dialogs with JavaScript basics

JavaScript supports three important types of dialog boxes. These dialog boxes can be used to raise and alert, or to be confirmed by any input or with an input from the user. Here, we'll look at each of the dialog boxes in one place:Alert dialog box:

Using JavaScript to achieve page redirection function of the tutorial _ basics

What is page redirection? When you click on a URL to access a page x, but inside you are directed to another page y, just because of page redirection. The idea is to refresh from a different JavaScript page. There may be various reasons why you

How to refresh Web pages using JavaScript _ Basics

You can use the JavaScript Location.reload method to refresh a Web page. When the user clicks on a link this code can be invoked automatically in an event. If you want to use the mouse to click to refresh the page, you can use the following code:

The Some () method in JavaScript uses a detailed knowledge of the basics

The JavaScript array Some () method tests whether an element in an array implements the test by providing functionality.Grammar Array.some (callback[, Thisobject]); The following are the details of the parameters: Callback:

The use of the reduce () method in JavaScript-basic knowledge

The JavaScript array reduce () method applies a function to two values (from left to right) of the array at the same time to reduce to a value.Grammar Array.reduce (callback[, InitialValue]); The following are the details of the

Introduction to the use of sub () methods in JavaScript basics

This method causes the string to appear as subscript, as if it were in the tag.Grammar String.sub () The following are the details of the parameters: NA return value: return string tag Example: javascript String Sub (

Introduction to the use of strike () method in JavaScript basics

This method causes a string to appear as highlighted text as if it were displayed in the tag.Grammar String.strike () The following are the details of the parameters: NA return value: Returns a string with a tag. Example:

Total Pages: 5378 1 .... 3425 3426 3427 3428 3429 .... 5378 Go to: GO

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.