/* SortTable version 2 7th April 2007 Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/ Instructions: Download this file Add <script src="sorttable.js"></script> to your HTML Add class="sortable" to any table you'd l ...
- 15:46
- 浏览 (71)
- 评论 (0)
- 分类: javascript学习
来源于:http://www.frequency-decoder.com/demo/table-sort-revisited/
table排序代码:
(function(){ fdTableSort = { regExp_Currency: /^[£$€¥¤]/, &nb ...
- 12:26
- 浏览 (81)
- 评论 (0)
- 分类: javascript学习
Script中的Defer属性如果你是一个对系统性能比较关心和在意的人,我想你应该会对Script脚本中的defer属性感兴趣的。script中的defer属性默认情况下是false的。按照DHTML编程宝典中的描述,对于Defer属性是这样写的:Using the attribute at design time can improve the download performance of a page because the browser does not need to parse and execute the script and can continue downloading ...
- 09:25
- 浏览 (88)
- 评论 (0)
- 分类: javascript学习
1、用JavaScript刷新当前的页面:document.location.reload();
2、子窗口刷新父窗口:
window.opener.location.href=window.opener.location.href;
window.close();
3、强制载入后刷新一次加入以下代码:
<script>if(window.name != "bencalie"){ location.reload();   ...
- 12:57
- 浏览 (86)
- 评论 (0)
- 分类: javascript学习
在网页1中利用ajax得到responseText返回值,比如是“form1.text1.value=3;”
那么我如何在网页1中通过js函数利用这个返回值,从而改变网页1自身中text1框的value值呢?
我只想知道通过我上面说的方法能不能实现,不要向我介绍别的方法啊,谢谢。。。
实际我是在网页1中利用ajax向网页2发送一个请求,在网页2中检索数据库,得到所需要的值,然后out.println
能够改变网页1中某个控件值的语句 比如是“form1.text1.value=3;”
,生成了很多这样的语句,所以我不想在在网页1中split()这些结果了,这样太麻烦。
向高手 ...
- 16:46
- 浏览 (63)
- 评论 (0)
- 分类: javascript学习
- 浏览: 3606 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
editplus3+注册码
非常感谢~~ 一直在用editplus,感觉很好
-- by fatalwing -
B/S开发中常用的javaScri ...
辛苦了,谢谢
-- by freesea -
B/S开发中常用的javaScri ...
辛苦了
-- by lengjxue -
ajax提交中文后乱码解码类 ...
实际上在js中用urlcontentencode或urlencode也可以加码, ...
-- by anonymity -
ajax提交中文后乱码解码类 ...
我一年前在开发中碰到这个问题 (因为当时不叫AJAX,) 当时我说JS,不能传汉 ...
-- by dearmite






评论排行榜