JavaScript tag collection and javascript collection

Source: Internet
Author: User

JavaScript tag collection and javascript collection
Click here to bring up a prompt box

At the beginning, this was the case.

Click here to change the text content

Black at first, and red after clicking

Click here to change the text color Click here to determine whether the input is a number

At the beginning, this was the case.

Click here

Note:MyFunction is saved in an external file named "myScript. js.

Click here and the document will disappear.

Click here to create a variable and display the result.

Click here

Assume y = 5, calculate x = y + 2, and display the result.

X = y + 2 =

Click this button to call a function with parameters.

Click here

Click a button to call a function with parameters.

Click here Click here

In this example, the called function executes a calculation and then returns the result:

If the time is earlier than, you will receive greetings "Good morning ".

Click here

Click this button to receive time-based greetings.

Click here

Click this button to receive time-based greetings.

Click here

Click the following button to display the day of the week:

Click here

Click the following button to display the message based on today's date:

Click here

My first JavaScript Program

Enter a number between 5 and 10:

Test input value

Click the button above. The warning box is displayed in 5 seconds.

Click the button above. The input box starts timing from 0.

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.