Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#14323 closed bug (notabug)

link click not working same as right mouse click

Reported by: aniketnt@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.0.3
Keywords: Cc:
Blocked by: Blocking:

Description

Dear Sir,

I am facing a problem where i need to open a page in new tab by my code , when i used windows.open("pagename","_blank") its open in pop up but i need to open it in new tab, when i make a link and dfine target="_blank" and click mouse then the page is opening in new tab but when i trigger link click using code $(selecter).trigger("click"); its always open a new popup window not working as tab please resolve this issue

Change History (2)

comment:1 Changed 7 years ago by timmywil

Resolution: notabug
Status: newclosed

Please ask for help on stackoverflow, the forums, or in the #jquery irc channel.

comment:2 Changed 7 years ago by axl.jq

Hi aniketnt.

This is not a jQuery bug. Opening new tabs programatically triggering clicks on anchors is not allowed due to security reasons.

Note: See TracTickets for help on using tickets.