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

java - Checkbox item adds to spinner -

php - mySQL problems with this code? -

C# MVC AngularJS -