Online: 13368
In case we want to open a popup window from JavaScript, we can follow this approach.
<script> function TestFunction() { window.open("http://www.dotnetfunda.com", "", "width=200,height=300"); } </script> <input type="button" id="btnTest" onclick="TestFunction()" value="Click me" />
In the click of the above button, a new popup window opens with DotNetFunda.Com website.