已采纳回答 / 谁动了我的小甜饼
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Math </title><script type="text/javascript"> document.write(Math.ceil(3.3)+"</br>") document.write(Math....
2020-02-21
已采纳回答 / 慕的地7636881
你这个错误有点多。。。一:文本框写的 id='fruit' ,设置结果输入框值写的是 friut ,改成 fruit ;二:switch 有两处错误,case 后面写错了,resuslt 的那几行语句后面没有用分号结尾;下面是改好了测试过的,你对比一下<!DOCTYPE html><html> <head> <title> 事件</title> <script type="text/javascript"> f...
2020-02-14
已采纳回答 / 慕雪0266382
function checkmore(){ var j=document.getElementById("wb").value; var i=j.split(",") for(x=0;x<i.length;x++){ document.getElementById("hobby"+i[x]).checked=true;}