M
Miroslav Stampar [MCSD.NET / Security+]
I simply want to get event property inside a function. Inside Firefox
this works fine, but in IE event is 'undefined' (in this sample)
Code snippet:
<html>
<body>
<script>
function fja(event){
alert(event.target);
}
document.onclick = fja;
</script>
</body>
</html>
this works fine, but in IE event is 'undefined' (in this sample)
Code snippet:
<html>
<body>
<script>
function fja(event){
alert(event.target);
}
document.onclick = fja;
</script>
</body>
</html>