When are the symbols () [] {}<> ""./= in JavaScript used? What does it mean? I have a detailed introduction in that book. Please recommend it.

Source: Internet
Author: User
& Amp; lt; script & amp; gt; functionchangeImage () What does this parentheses mean? {Why is an equal sign used in element? Document. Why is it used here? GetElementById (& #039; myimage & #039;) Since brackets are used, why do we need to use quotation marks? If (element. Why is there... script
Function changeImage () What does this parentheses mean?
{
Element = Why is the equal sign used here?Document. Why do we use vertices here?GetElementById ('myimage ') Since brackets are used, why do we need to use quotation marks?
If (element. Why do spaces are used directly in some places, but vertices are used in this place?Src. match ("bulbon "))
{
Element. src = "/I/eg_bulboff.gif ";
}
Else
{
Element. src = "/I/eg_bulbon.gif ";
}
}
Script

Do these symbols have a book to detail their definition.

Reply content:

Script
Function changeImage ()What does this parentheses mean?
{
Element =Why is the equal sign used here?Document.Why do we use vertices here?GetElementById ('myimage ')Since brackets are used, why do we need to use quotation marks?
If (element.Why do spaces are used directly in some places, but vertices are used in this place?Src. match ("bulbon "))
{
Element. src = "/I/eg_bulboff.gif ";
}
Else
{
Element. src = "/I/eg_bulbon.gif ";
}
}
Script

Do these symbols have a book to detail their definition.

You are not getting started with the syntax. Get a rhino book first.
Https://book.douban.com/subject/10549733/

Let's get into the door first, especially the theory. Don't think about learning with the video. You need to understand the reason for this.

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.