Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

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?