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

Popular posts from this blog

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Checkbox item adds to spinner -

android - Go back to previous fragment -