Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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>

この投稿は cor-el により に変更されました

すべての返信 (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?