兩種寫法詳見範例 DOM_05.html。 document.images.helpIcon.onmouseover = function() { window.alert('滑鼠經過~'); }; //在這種情況下,function 可以匿名(不命名)。
確定! 回上一頁