javascript - auto download the php script of the destination url -
i have script open child window every time click button. problem is, downloads php script. how prevent auto downloading of php script if child window open? in advance.
here sample code open new window.
<script> $('#btnshow').click(function(){ var mylog = document.getelementbyid('txtlog').value; window.open("/sample/sample.php?login="+mylog,"child","width=800,height=600"); } </script>
Comments
Post a Comment