This article from e Mentor Network
The most common headache when you're beginners to JavaScript is browser compatibility issues. In Firefox under the good code put to IE can not be displayed, or is in IE normal display code in Firefox and error.
650) this.width=650; "src=" Http://183.61.143.148/group1/M00/01/CD/tz2PlFPvBtygAf5NAAAokplL9lI112.jpg "style=" border:0px none; "/>
If you're learning JavaScript and have the same situation, it's recommended that you learn JavaScript without the DOM and BOM compatibility, and spend more time understanding the language itself (ECMAScript). Write code only in a specific browser (Chrome/firefox/safari), using a mature JavaScript framework (jquery, etc.) in the actual work. Rest assured, few companies will let JS novice with the original JS to do the front-end development.
What are the benefits of learning JS early ignoring compatibility issues?
1, reduce the difficulty of learning
2, reduce frustration
3, spend more time to learn ECMAScript
when to learn JS cross-browser development knowledge? And when is the browser compatibility problem left to solve?
When you are proficient in writing reusable code using the JavaScript framework (jquery plug-ins or front-end controls), or when you are ready to develop a JavaScript framework yourself.
Some other JavaScript beginners suggest
Never use JavaScript as an authoritative guide for getting Started books
should use JavaScript Advanced Programming (third Edition) as a starter book
the value and value of the pass and scope knowledge must be understood
Debugging tools must be understood and used, and learn how to catch mistakes. (Chrome developer Tool/firebug)
patience and patience, for every knowledge point deep digging can learn more easily.
These are some of the things you would like to know if you can help the beginner JavaScript, and if you feel misled, please point it out immediately.
This article is from the "wood-wood Litter" blog, please be sure to keep this source http://jimzhmumu.blog.51cto.com/9239295/1541044