This is the code I am executing inside PHP condition
<?php
    if(is_null($model)) {
        echo "<script>window.parent.closeIframe(true)</script>";
    }
?>
It doesn't work even If I put alert or calling a function inside my PHP condition.
Is it possible to run a Javascript code inside PHP ? Is there any PHP extensions needed to be enabled ?
 
     
     
     
    