jQuery-对Radio/CheckBox的操作集合

2010年03月2日 5:16 下午  |  分类:php专区
jQuery获取Radio选择的Value值: jQuery   C#   VB   C++   Java   jQuery设置Radio的Value值: 语法解释:1. $(”input[name='radio_name'][checked]“).val();  //选择被选中Radio的Value值2. $(”#text_id”).focus(function(){//code…});  //事件 当对象text_id获取焦点时触发3. $(”#text_id”).blur(function(){//code…});  //事件 当对象text_id失去焦点时触发4. $(̶...


全文阅读 »