session客户端参数存储 session存储,cookie存储 ///保存 session_util.set = function (key, value) { $.session.set(key, value); } ///获取 session_util.get = function (key) { return $.se
html标签转换 html标签与转移符转换tag_util.html2Escape=functionhtml2Escape(sHtml){returnsHtml.replace(/[&"]/g,function(c){return{'':'>','"':'"',"&":"&"}[c];});}
表单异步提交 页面跳转,提交参数 var form = new form_util.form({ url: uri, method: 'POST', target: '_self', params: param }); $(form).submit();