Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

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>

Bewerkt door cor-el op

Alle antwoorden (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?