The Q&A during Webkit learning.

  1. 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

  1. Unzip it and can get an eclipse folder.
  2. Don’t need install it, just double click “eclipse.exe” to run.
  3. 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”)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值