in both the cases , i am trying to close a popup window opened from the same parent using the similar code. In both cases the function is being called inside the call back function of the jquery $.post method. But while one of them works properly, the other one throws an error
Firefox:
window.close is not a function
Chrome:
Property 'close' of object [object DOMWindow] is not a function
I tried to do this separately with two simple html files having minimal code .. and it works perfectly
this is the code i am using to open the popups
<a onclick="window.open('<?php echo $personalize_href; ?>',null,'height=688,width=1000,status=no,toolbar=no,menubar=no,scrollbars=2,location=no');">
Please help