Usage
The blur() method is used to remove focus to specific window.
|
1 2 3 4 5 6 | <button onclick= "javascript:showwindow();" >Blur window</button>
function showwindow(){
myWindow.blur();
}
|
|
Output
Once we run the program, website will be displayed.Once we press Blur button,it remove the focus to current window.
|