07 2014 档案
Jquery inArray的使用
摘要:var typeList=["A","B","C","D"]; if ($.inArray("A", typeList)==-1){ //不存在 }else{ //存在 } 阅读全文
posted @ 2014-07-28 17:54 思静 阅读(184) 评论(0) 推荐(0)
PHP JQuery Json
摘要:PHP: echo Json_encode($result);Jquery:$.get( 'process.php', {'p1':'aa','p2':'dd', 'data_type':'json'}, function(data){ ... 阅读全文
posted @ 2014-07-21 17:14 思静 阅读(178) 评论(0) 推荐(0)