<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>算数运算</title></head><body> <div di="good"></div> <script> //代码补充 var b=(4+5)*4%5; document.getElementById("good").innerHTML =b; </script></body></html><!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>算数运算</title></head><body> <p id="pp"></p> <script>//代码补充var b=(4+5)*4%5;document.getElementById("pp").innerHTML=b;</script></body></html>第一个一直显示document.getElementById("good").innerHTML =b;这一行出错了,我想的头皮发麻都不知道为啥
添加回答
举报
0/150
提交
取消