Hi All,
I need help on this. I am a new bie in javascript
When javascript alert is popped up, it doesnot allow us to focus on the window till we click on the alert ok button.
Can we do the same when I popup div alert.
I have put in the code in a function to call when div is loaded. But its not working
The code I am using is:
<div onload="blurAll();" id="exitMessage" style="position: fixed; background-color:ButtonFace; z-index: 1; display: block; top: 307px; left: 304px;
visibility:hidden; border: 3px solid blue; width: 250px;">
function blurAll()
{
// alert("blur");
//window.blur();
window.focus=false;
}
But it seems like its not working, Even the alert is also not popping up,
Thanks so much in advance
Regards