Javascript
chenaaron
a simple programmer
展开
-
The Hot ajax
Famous of web2.0, the script language pushed the web forward based on ajax technology.Currently,many ajax frameworks can be used, such as dojo,sajax,dwr.....But I insist on coding that by myself....2007-04-05 17:47:26 · 134 阅读 · 0 评论 -
Javascript escape(), encodeURI(), encodeURIComponent()
escape():The escape method returns a string value (in Unicode format) that contains the contents of [the argument]. All spaces, punctuation, accented characters, and any other non-ASCII characters ar...2007-05-15 21:05:26 · 66 阅读 · 0 评论 -
Get iframe content
When use iframe embedded in the main page,maybe you want to access/set the content for some nodes in the iframe.So you try to touch the page in iframe,the attachment will help you much more.2007-05-15 22:52:30 · 182 阅读 · 1 评论 -
Ajax Status and readStatus
readyState属性包括五种可能的取值: 0: (未初始化)send方法还没有被调用1: (加载中)已调用了send方法,请求还在处理2: (已加载)send方法已完成,整个应答已接收3: (交互中) 正在解析应答4: (已完成) 应答已经解析,准备好进行下一步处理。对象XMLHttpRequest属性status的含义:0**:未被始化 1**:请求收到,继续处理 ...2007-10-11 20:26:16 · 482 阅读 · 0 评论 -
Ajax delete cache
1、如何去除AJAX取过值后IE的缓存?A:在url后面加一个当前时间。即:url = url + "&nocache="+new Date().getTime();B: 在xmlhttp.open之后发送一个特定的头,简约代码如下: xmlhttp.setRequestHeader('If-Modified-Since', '0'); 2、在使用AJAX的时候发现在取得xm...2007-11-04 20:23:12 · 153 阅读 · 0 评论 -
Javascript Print(*)
1. 实现打印功能1) ExecWB()通过脚本程序来调用IE菜单下面的打印命令。实现的代码如下:<script language="javascript"> function printsetup(){ // 打印页面设置 wb.execwb(8,1); } function printpreview(){ // 打印页面预览 wb.ex...2007-11-05 12:45:04 · 1208 阅读 · 0 评论 -
移动电商
海外旅行购物电商平台-购轻松,是我们从零开发的App应用,欢迎大家下载使用,http://a.app.qq.com/o/simple.jsp?pkgname=com.yhiker.igoeasy原创 2016-04-19 18:13:12 · 222 阅读 · 0 评论