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

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

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

java - Android – MapFragment overlay button shadow, just like MyLocation button -