How to open URL in a new window In JavaScript
Hello,
Right now, i we’ll present you learn how to open URL in a brand new window in javascript. This text will provide you with easy instance of learn how to open URL in a brand new window in javascript. you’ll discover ways to open URL in a brand new window in javascript. So let’s comply with few step to create instance of learn how to open URL in a brand new window in javascript.
Instance:
<!DOCTYPE html> <html> <head> <title>Methods to open URL in a brand new window In JavaScript - codeplaners.com</title> </head> <physique> <h1>codeplaners.com</h1> <button onclick="getLink();">Click on me</button> <script kind="textual content/javascript"> perform getLink() { window.open("https://codeplaners.com/","mywindow","standing=1,toolbar=1"); } </script> </physique> </html>
Komentar
Posting Komentar