Posts Tagged ‘javascript’

h1

Check child window is closed

April 27, 2011

We can check the child window is opened or not.
Coding

var ChildWin;
if(ChildWin && !ChildWin.closed)
{
ChildWin.focus();
}
else
{
ChildWin= window.open(‘url’)
}
Advertisements
h1

HTML Readonly checkbox

August 11, 2010

using javascript we can create readonly chechbox

 <input onclick=”return false;” checked=”checked” id=”chk1″ type=”checkbox”  />