(4)事件处理——(4)网页上的多个脚本(Multiple scripts on one page)
摘要:
The traditional mechanism for registering event handlers through JavaScript (ratherthan adding handler attributes right in HTML) is to assign a function to the DOMelement's corresponding attribute. For example, suppose we had defined the function: function doStuff() { // Perform a task... }We co 阅读全文
posted @ 2013-10-11 15:09 云编程的梦 阅读(220) 评论(0) 推荐(0)
浙公网安备 33010602011771号