Ovo će web mjesto raditi na ograničen način, dok obavljamo održavanje stranice. Ako neki članak ne riješi tvoj problem i ako želiš postaviti pitanje, naša zajednica za podršku spremna je pomoći na Twitteru @FirefoxSupport i na Redditu /r/firefox.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

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>

Izmjenjeno od cor-el

Svi odgovori (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?