摘要: //车辆颜色 BasePage.BindVehicleColorQueryControl=function(formId,ctrId){ $("#"+ctrId).combobox("setValue",''); $("#"+ctrId).combobox({valueField:'Ty... 阅读全文
posted @ 2014-08-27 11:13 e航 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 虽然escape()、encodeURI()、encodeURIComponent()三种方法都能对一些影响URL完整性的特殊字符进行过滤。但后两者是将字符串转换为UTF-8的方式来传输,解决了页面编码不一至导致的乱码问题。例如:发送页与接受页的编码格式(Charset)不一致(假设发送页面是GB2... 阅读全文
posted @ 2014-08-27 09:37 e航 阅读(74) 评论(0) 推荐(0) 编辑
摘要: function getParam(paras){ var url = location.href; var paraString = url.substring(url.indexOf("?")+1,url.length).split("&"); var paraObj = {}; for (i=... 阅读全文
posted @ 2014-08-27 08:40 e航 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 方法一:网上找到是这样的showDialog = function (url, title, width, height, id) {var content = '';var divContent = '';var win = $('').dialog({content: content,width... 阅读全文
posted @ 2014-08-27 08:34 e航 阅读(3384) 评论(0) 推荐(1) 编辑