function checkone(){
var j=document.getElementById("wb").value;
var hobby=document.getElementsByName("hobby");
for(var i=0;i<hobby.length;i++){
if(parseInt((hobby[i].id).substr(-1,1))==j){
document.write(hobb[i].innerHTML);
hobby[i].checked=ture;
}
}存在。