想问问我代码拿错了,运行没反应
<input type="button" value="JS进阶篇" onClink="b()">
<script type="text/javascript">
function b(){
var b = document.write("关注JS高级篇");
alert(b);
}
</script>
<input type="button" value="JS进阶篇" onClink="b()">
<script type="text/javascript">
function b(){
var b = document.write("关注JS高级篇");
alert(b);
}
</script>
2020-10-17
举报