使用jquery获取checkbox组和radio组的值

1、获取checkbox的值

$("input[name='say']:checked").val();

2、获取radio组的值

$("input[name*='assess_level']:checked").val()