2012年5月21日

js trim() sendHttp()用法

摘要: function Trim(s) { return s.replace(/(^\s*)|(\s*$)/g, ""); }function ck(obj) { var strFlag = SendHttp("ShowHttp.aspx?name=" + Trim(obj.value)+"&flag=reg", ""); if (strFlag == "1") { alert("该用户名已存在!"); obj.value = ""; obj.focus 阅读全文

posted @ 2012-05-21 13:46 鱼人夜行者 阅读(976) 评论(2) 推荐(0) 编辑

导航