摘要:1 2 /*如果 name 的值为text 传到php页面为字符串 可以用echo 输出*/ 3 4 5 6 /*如果 name 的值为text[] 无论单选还是多选,传到php页面为数组 只能用print_r 输出*/ 7 8 9 10 11 /*jquery选择checkbox选中的值时,需要用*/ 12 13 var jianjie =[]; 14 ...
阅读全文
摘要:var jianjie =[]; $('input.jianjie:checked').each(function(){ jianjie.push($(this).val()); });
阅读全文
摘要:function browerType(phone) { var u = navigator.userAgent;//识别各种浏览器 var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 var isiOS = !!u.match(/\(i[^;]+;( U;)? C...
阅读全文
摘要:在前端代码中加入 在kindeditor.js文件中注释掉下面一段代码4760行左右 可搜索mobile
阅读全文
摘要:html代码: jquery代码 后台函数代码 可依据自身需求写
阅读全文