<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Typ
jquery取radio单选按钮的值 $("input[name='items']:checked").val(); 另:判断radio是否选中并取得选中的值 如下所示: function checkradio(){ var item = $(":radio:checked"); var len=item.length; if(len>0){ alert("yes--选中的值为:"+$(":radio:checked&quo
//ListView删除选中的多项目function DeleteMultSelItems(ListView:TListView):Boolean;var I: Integer;begin Result:=False; if ListView.Selected =nil then Exit; for i := ListView.items.count-1 downto 0 do begin if ListView.items[i].selected then begi
单选框:单选框的name值全部相同 页面有一组单选框的元素<td><input type="radio name="radioid">满意</td> <td><input type="radio" name="radioid">基本满意</td> var radio=document.getElementsByName("radio"); va