Attribute operation in JS:
Attribute manipulation syntax
Property read operation: Get
Example: getting the input value
Instance: Get Select Value
String connection
Property Write operations: Modify, add
Example: Modifying value values
Example: Add src address to a picture
InnerHTML
Example: Analog SMS Sending
After-school experience:
Attribute manipulation considerations
Special characters that are not allowed in JS
Adding Class:classname to an element
keywords, reserved words
Read problems with relative paths
Type value modification of form elements
Floating (float) compatibility issues
IE (stylefloat), non ie (cssfloat)
In the property operation: []
If judgment
If the basic form of judgment
Picture Switch Instance
Practice Links: Https://files.cnblogs.com/files/huangfeihong/exercise1.picturechange.rar
JavaScript Basic Learning log (1)