<script>
function Hello(){
var caller = arguments.callee.caller;
alert( caller );
}
</script>
<input type="button" id="btnHello" value="Hello" onclick="Hello()" />
Run Code Online (Sandbox Code Playgroud)
如何从上面的Hello函数中获取按钮id,而不传递Hello函数中的any参数
如何使用JavaScript 在Internet Explorer中获取和设置窗口弹出高度和宽度
在Firefox中,我可以使用window的outerHeight,outerWidth属性设置高度和宽度.
谢谢.
我想知道
如何使用java重命名ftp服务器中的文件.
我java.net.URL用来连接服务器
谢谢