Linked Questions

-1 votes
1 answer
19k views

I have code like this: <div id='my-div'></div> When a user clicks on this div, I would like to open http://google.com in a new tab or window. I'm using jquery as follows: $('#my-div')....
tadasajon's user avatar
  • 14.9k
0 votes
1 answer
1k views

I am trying to open a URL in new window by clicking on menu item in angular but I don't know a method of doing such thing in _nav.ts file. Below is the code of my menu item { name: 'Power ...
Dev's user avatar
  • 121
0 votes
1 answer
802 views

In my JavaScript Project of Notes App, there is a location.assign() to my edit note page. But the problem is, whenever I click the note, it opens in the same tab as the index.html page. I have learned ...
ScratcherXBOX's user avatar
0 votes
1 answer
894 views

Following js code refreshing the page to the url, but i wanna make it open in a new tab. case"example1": case"example2": l.after('<meta http-equiv="refresh" ...
Heçkır 001's user avatar
0 votes
0 answers
564 views

Is there any way to open a new full browser window? not a popup window.open(url) opens a new tab window.open(url, "", features) opens a popup But can one open a window that can have tabs in ...
aljgom's user avatar
  • 9,387
-1 votes
1 answer
389 views

I want to open multiple urls in separate tabs in my flask app using following code only first url gets opened. @app.route('/get_spot', methods=["GET", "POST"]) def spot(): ...
aniket patil's user avatar
1 vote
1 answer
237 views

This is normally a simple solution if I were using <a href> but because I am using <input> I can't figure out how to make this open a new window using target="_blank". Is there any way to ...
Vzupo's user avatar
  • 1,478
-3 votes
1 answer
181 views

Help me pleaz let discordLogo = document.createElement("img"); discordLogo.setAttribute( "src", "https://media.discordapp.net/attachments/1079211646746099792/...
Below Mid Developer's user avatar
0 votes
0 answers
53 views

In a search bar, I'm trying to make an URL open in a new window through JQuery. This is my code from the search bar And my JQuery code that makes the info you write on the search bar open in an URL ...
Damysus's user avatar
  • 21
1 vote
0 answers
25 views

I don't want this because it opens the link in a new tab in the same chrome <Link to="/home" target="_blank">home</Link> I want to click on the link and open it in ...
Noman's user avatar
  • 709
166 votes
16 answers
583k views

I would like to have a button that redirects to a given URL and opens in a new tab. How can this be done?
wong2's user avatar
  • 36k
117 votes
9 answers
431k views

I have a link like this: <a href="/index2.php?option=com_jumi&amp;fileid=3&amp;Itemid=11" onclick="window.open(this.href,'targetWindow','toolbar=no,location=no,status=no,menubar=no,...
Alex Gordon's user avatar
  • 61.5k
45 votes
3 answers
182k views

<a href="facebook.com/sharer" target="_blank" >Share this</a> How do I make this a certain width and height, in a new window, when the user clicks on it? In firefox, the current code only ...
TIMEX's user avatar
  • 274k
6 votes
1 answer
19k views

I have a button and on click of that button a new window should be opened with a new provided URL. For example: <button class="btn btn-help"(click)="helpWindow($event)" type="submit"></...
Protagonist's user avatar
  • 1,699
5 votes
2 answers
8k views

In order to automate my test application, I need to open few links in a new window instead of tab. Keep this in mind that I am not opening the links in new tab explicitly, it is my web application ...
Priyanshu's user avatar
  • 3,056

15 30 50 per page