html操作

来源:互联网 发布:虚拟gps定位软件 ios 编辑:程序博客网 时间:2024/06/03 04:09
encodeHtml: function(value) {
            var temp = !value ? '' : value.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
            return temp;
        }
原创粉丝点击