Getting results from a javascript function to display in html element.我可以让它与console.log(golfScore(4,3))一起工作;但不能使用用户输入。我很确定问题出在这一行document.getElementById("message").innerHTML = golfScore(); 如果我把数字或任何东西放在golfScore中(这里),什么都不起作用我可以让console.log(golfScore(4,3)
大家好,我已经编写了一段使用javascript打印图像的代码,如下所示 function printIt() {status=1,scrollbars=1,width=800,height=600'); var imageControl = document.getElementById</script