摘要: /** * 解决两个数相加精度丢失问题 * @param a * @param b * @returns {Number} */ function floatAdd(a, b) { var c, d, e; if(undefined==a||null==a||""==a||isNaN(a)){a=0 阅读全文
posted @ 2021-07-22 15:02 Action_swt 阅读(31) 评论(0) 推荐(0) 编辑
摘要: $.validator.addMethod("xssCheck",function(value,element){ // var strExp=/.*<(script|a|img|link|style|iframe|frame|onerror|body|document)>.*|.*(\'|\"). 阅读全文
posted @ 2021-07-22 14:55 Action_swt 阅读(351) 评论(0) 推荐(0) 编辑