jsjac 的 本地登录问题
摘要:httpbase = "http://localhost:7070/http-bind/"; 对应oArgs.domain = "localhost";httpbase = "http://ip:7070/http-bind/"; 对应oArgs.domain = "ip";httpbase = "http://127.0.0.1:7070/http-bind/"; 对应oArgs.domain = "127.0.0.1";本地apache好像支持ie , firefox g
阅读全文
posted @
2012-07-16 20:39
冲锋的路上的兵
阅读(275)
推荐(0)
js removeChild 的bug
摘要:直接用removeChild删除元素好像有bug故要找到其父节点 然后删除此节点var div = document.getElementById("XX");div.parentNode.removeChild(div);
阅读全文
posted @
2012-07-16 20:34
冲锋的路上的兵
阅读(732)
推荐(0)
js 获取指定行列的值
摘要:function doclick(e) { //var td = event.srcElement; // 通过event.srcElement 获取激活事件的对象 td //alert("行号:" + (td.parentElement.rowIndex + 1) + ",内容:" + td.innerText); //可惜firefox不支持 e = window.event || e; srcE...
阅读全文
posted @
2012-07-10 16:37
冲锋的路上的兵
阅读(866)
推荐(0)
php 乱码问题
摘要:统一编码很重要 从写入 html --> php -->mysql再读取返回时,也要注意!!注意一:<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 在php头在 html 这个标签。 这样是html页面的要求注意二 :header('content-Type=text/html;charset=utf-8') (不过会报warning 不好用)注意三: mysql_query("set names 'utf
阅读全文
posted @
2012-07-09 17:40
冲锋的路上的兵
阅读(142)
推荐(0)