JQuery
iteye_5268
这个作者很懒,什么都没留下…
展开
-
jQuery获取Select选择的Text和Value:
jQuery获取Select选择的Text和Value: 语法解释: 1. $(“#select_id”).change(function(){//code…}); //为Select添加事件,当选择其中一项时触发 2. var checkText=$(“#select_id”).find(“option:selected”).text(); //获取Select选择的Text 3. va...原创 2011-04-20 14:53:45 · 67 阅读 · 0 评论 -
jQuery Ajax 传中文参数出现乱码(传值,乱码)
解决方案一:(修改jquery.js) 修改前: ajaxSettings: { url: location.href, global: true, type: "GET", contentType: "application/x-www-form-urlencoded", processData: true, async: true, ...原创 2012-03-16 09:57:20 · 171 阅读 · 0 评论