Home  >  Article  >  Web Front-end  >  myeclipse安装jQuery插件的方法_jquery

myeclipse安装jQuery插件的方法_jquery

WBOY
WBOYOriginal
2016-05-16 18:08:531735browse

1、在网上下载spket-1.6.12.zip压缩文件,解压后会看到eclipse目录下有features、plugins这两个文件夹

2、把features、plugins这两个文件夹下的文件复制黏贴到D:\myeclipse6.5\myeclipse\eclipse\目录下(注意features、plugins要对应清楚哦)然后重启myeclipse

3、重启myeclipse后,打开window -> preference -> spket -> javascript profiles -> new -> jQuery -> Add Library(选中jQuery) -> Add File ->选中

jquery1.2.6.js所在路径->选中jQuery->Default->重启myeclipse(从网站下载未压缩版本的jquery.js),配置后如下图:

myeclipse安装jQuery插件的方法_jquery

4、重启myeclipse后,新建一个js文件,输入$(document).会显示如下提示,如:

myeclipse安装jQuery插件的方法_jquery

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn