jQuery取radio的值 Posted on 2012年6月19日 by hliang 代码如下: $(function() { var lock = $('input[name="lock"]:checked').val(); alert(lock); });