-5
rated 0 times
[
2]
[
7]
/ answers: 1 / hits: 35236
/ 15 Years ago, wed, june 3, 2009, 12:00:00
<script>
function Hello(){
var caller = arguments.callee.caller;
alert( caller );
}
</script>
<input type=button id=btnHello value=Hello onclick=Hello() />
How to get the button id from the the Hello function above with out passing the any argument in the Hello function
More From » javascript