ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

HTTPS URL launch from a HTTP page link in new TAB

more options

I have a table where a particular column having url’s. When clicking on a particular url it is going to new tab but suddenly after that it closed. If I open that url in new window instead of new tab it is working fine. Code for creating url is-

I called a JS function which returns the URL

var link="<a href"+"='"+recorderUrl+"' target"+"='_blank'>"+data+"</a>";             
return link;
I have a table where a particular column having url’s. When clicking on a particular url it is going to new tab but suddenly after that it closed. If I open that url in new window instead of new tab it is working fine. Code for creating url is- I called a JS function which returns the URL <pre><nowiki>var link="<a href"+"='"+recorderUrl+"' target"+"='_blank'>"+data+"</a>"; return link;</nowiki></pre>

Modified by cor-el

All Replies (2)

more options

hello,

we are not getting your point ,so explain properly . thank you

more options

Tabs and windows should behave similarity, so that's strange.

I'm not sure I understand what the user is clicking: is it simply text which has an onclick handler to manufacture a link, or is it actually a link already? Can you post a clickable demonstration of the problem, or a snippet of the table on Pastebin or other hosting site of your choice?