亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

js單獨(dú)獲取一個(gè)checkbox看其是否被選中

 更新時(shí)間:2014年09月22日 17:32:34   投稿:whsnow  
這篇文章主要與大家分享js獲取一個(gè)checkbox看其是否被選中的具體實(shí)現(xiàn),很簡(jiǎn)單,但很實(shí)用,需要的朋友可以參考下
<script language=javascript> 
function check(){ 
var xz=document.getElementById("xz"); 
alert(xz.checked); 
} 
</script> 
<html> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<input type=checkbox name="xz" id="xz" value=1> 
<input type=submit name=s1 value="提交" onclick="return check();"> 
</html>

相關(guān)文章

最新評(píng)論