JSEclipse javaScript开发工具安装配置
ZendStudio中安装JSEclipse插件
Help -> Install New SoftWare
Work with: add
name:JSEclipse Location:
http://download.macromedia.com/pub/labs/jseclipse/autoinstall
安装完成后配置:
需要告诉 Eclipse 它有一个 JavaScript 文件的专用编辑器,这样它用文将不使用通本编辑器。选择 Window
> Preferences > General > Editors > File Associations
选择*.js
选择JSEclipse 按Default设置为默认js文件编辑器
相关文档:
页面提交数据一般有两种方法:get,post。post就是所谓的form提交,使用视图;get是通过url提交。
Get方法一般用后台代码(如asp,asp.net)获得参数,代码很简单:Request.QueryString["id"];即可获取。
有些时候需要直接在前台获取url参数,要用到javascript,js没有直接获取url参数的方法,那么,我们如何通过js ......
W3School是一个很好的初学者学习网站。下面的是里面的内容,主要是javascript对象的API说明与使用,希望在不懂的时候可以很方便地查看到所需要的疑问。
JavaScript String 对象参考手册
http://www.w3school.com.cn/js/jsref_obj_string.asp
JavaScript Date 对象参考手册
http://www.w3school.com.cn/js/jsref_obj_dat ......
DropDownList调用javascript控制表格行tr的显示与隐藏
<mce:script language="javascript"><!--
function cao() {
if(document.all.ddl_class.value=="0")
{
hongtou.style.display="none";
wailai.style.display="none";
wailai1.style.display ......
看过香港和澳门回归的倒记时器没有,是不是想给自己的比较有意义的日子一个记时器提醒自己,JavaScript给了我们这个机会去实现我们的想法,看看下面的例子:
在<body>和</body>标签间输入以下代码
<SCRIPT LANGUAGE="JavaScript">
var urodz= new Date("December 25,2002");
var s="圣诞节";
//获取 ......
Every Web developer has to tangle with tables. A new open source library, DisplayTag, can make life with tables much more organized. Find out how to combine the DisplayTag library with JavaScript to make a slick app that displays line item details.
by Stephen Strenn
isplaying data in a t ......