• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

window.open

how can i use the window.open function in JavaScript?

javascript
25th Sep 2024, 7:24 PM
Caleb Yohannes
1 Answer
+ 3
Window open() The open() method opens a new browser window, or a new tab, depending on your browser settings and the parameter values. Example: Open "https://www.sololearn.com" in a new browser tab: window.open("https://www.sololearn.com"); https://www.w3schools.com/jsref/met_win_open.asp
25th Sep 2024, 7:55 PM
SoloProg
SoloProg - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Concerning image
1 Votes
Which is better Rust or C++? [CLOSED]
4 Votes
Code coach "camel and snake"
0 Votes
What is the answer of the web development where it is asked how many times will the messages will be displayed.In the last part.
1 Votes
Object Oriented Programming
0 Votes
“Beginner in Coding: Which Language Should I Learn First for Unreal Engine Game Development?”
0 Votes
What is the best coding language to create a successful game on steam
0 Votes
Past lua programmer to new languages
0 Votes
What for Logic building
0 Votes
can someone please tell the error
0 Votes