JavaScript:绑定事件

执行如下代码,点击按钮,只会弹出第二个函数的‘b’。那么,如今要两个都弹出,就须要事件绑定。javascript <!DOCTYPE html> <html> <head> <title>绑定事件</title> </head> <script type="text/javascript"> window.onload = function(){ var oBtn = document.get
相关文章
相关标签/搜索