- IDE: Eclipse IDE for Javascript web developer
Tools for JavaScript developerscreating Web applications, including a JavaScript IDE, tools for JavaScript,HTML, CSS, and XML.
You can read the document firstfrom here to get some information first.
http://kellicker.wordpress.com/2010/08/18/javascript-eclipse-ide-jsdt-getting-started/
Then you can download the JSDT fromhere
http://www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/heliosr
- Unzip it and can get an eclipse folder.
- Don’t need install it, just double click “eclipse.exe” to run.
- If you encounter a error that “Failed to create the Java Virtual Machine”, do bellow changes:

5. The Chinese strings in the html can’t showcorrectly in Eclipse.
Root cause:
Default encoding is cp1252 in Eclipse.
Solution:
Windows->Preferences->General->Workspace->TextFile Encoding->Other(UTF-8)
6. What’s the meaning of Javascript $() and $F()?
$() is a abbreviation of methoddocument.getElementById() in DOM. You can think it$()=document.getElementById()
$F() is a method abbreviation, used to getthe value of a control item in form. The parameter can be the element id orelement itself, looks like $F(“userName”)
本文提供了一步一步的指南,教你如何在Eclipse IDE中配置JavaScript环境,包括下载、安装和解决常见问题,如中文字符串显示错误和获取DOM元素的方法解释。

3960

被折叠的 条评论
为什么被折叠?



