We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,397 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

js: open in new tab, then target opener

Hi,

I know it's possible to open a new window with javascript and then target the original one with "opener.". Is it possible to open in a new tab instead and still target the opener?

Thanks

2
Contributors
1
Reply
7 Hours
Discussion Span
3 Months Ago
Last Updated
2
Views
Buppy
Junior Poster
110 posts since Nov 2010
Reputation Points: 12
Solved Threads: 2
Skill Endorsements: 0

I think that whether a tab or window opens is down to the browser / client settings? I've seen this sort of thing:

window.open('http://www.example.com','_newtab');

But it may be patchy, especially if you call it a few times.

diafol
Keep Smiling
Moderator
10,672 posts since Oct 2006
Reputation Points: 1,632
Solved Threads: 1,514
Skill Endorsements: 57

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0582 seconds using 2.68MB