I have 2 frames ansd i want to trigger an onclick event on click anywhere in the bottom frame. I have written the following code in the bottom frame but the event is triggered onload instead of onClick. Please help
if (document.all)
document.body.onclick=alert("hello"
if (document.all)
document.body.onclick=alert("hello"