I have a smaller new window instead of opening a new tab from download a pdf. I want only callback variable from downlado.jsp i.e. when its working is done on parent window to close downlado.jsp .from where i have invoked send me function.
JavaScript:
function sendme()
{
winname = "myNewWin";
window.open("","myNewWin","width=500,height=300,toolbar=0");
lsurl = "downlado.jsp";
window.document.Form.action = lsurl;
window.document.Form.target = winName;
window.document.Form.submit();
window.setTimeout("window.close",5000);
}
For example
function callback()
{
close download jsp;
}