首页
编程
java
php
前端
首页
编程
java
php
前端
请教javascript问题
function test(){ }
我现在要在test方法中获得onclick事件对象,怎么获得啊
[code="javascript"]
function test(){ ev = arguments[0] || window.event; }
[/code]
[code="java"]
function test(e){ alert(e); }
[/code]
点击展开全文