
javascript
关阔
励志二十六岁成为一个牛人。
展开
-
button onclick 实现页面跳转
button onclick 实现页面跳转 1、onclick="javascript:window.location.href='aa.htm' " 2、onclick="location='URL' " 3、onclick="window.location.href='?id= ' "原创 2014-03-12 11:31:40 · 25847 阅读 · 0 评论 -
页面跳转的三种方法
PHP页面跳转一、header()函数 header()函数是PHP中进行页面跳转的一种十分简单的方法。header()函数的主要功能是将HTTP协议标头(header)输出到浏览器。 header()函数的定义如下: void header (string string [,bool replace [,int http_response_code]]) 可选参数re转载 2014-03-12 14:31:05 · 4754 阅读 · 0 评论 -
XML后台同步应用
废话不多说 上代码 //发送异步请求的JavaScript程序 function sendRequest(cid) { xmlHttp=GetXmlHttpRequest(); if(xmlHttp ==null) { alert("浏览器不支持XmlHttpRequest!"); return; } var url="orderdo.php?date="+cid;原创 2014-05-30 14:53:30 · 548 阅读 · 0 评论