[問題] 語法的問題
請問一下
<span onmouseover="this.innerhtml='your mouse over this'">
first
</span>
打在記事本裡頭,最後可以跑出first,但是當把滑鼠放到first的範圍時
卻沒有顯示出your mouse over this的訊息
<body>
<script for="span1" event="onclick">
alert="hello"
</script>
<span id="span1">
hi
</span>
</body>
打在記事本裡,一開始會出現hi,但是希望用滑鼠點hi一下時會出現hello的效果也沒出現
請問是甚麼原因嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.130.168.74
→
04/11 11:19, , 1F
04/11 11:19, 1F
→
04/11 11:20, , 2F
04/11 11:20, 2F
→
04/11 11:22, , 3F
04/11 11:22, 3F
→
04/13 22:48, , 4F
04/13 22:48, 4F