Why does it not open the URL directly on click but, only when I select open link in new tab? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why does it not open the URL directly on click but, only when I select open link in new tab?

When I click the submit button it isn't opening the link it is supposed to...

16th Nov 2016, 6:00 AM
Toshi Kudo
Toshi Kudo - avatar
3 Answers
+ 2
are you talking about a website it might use some scripts like js this can be done this too <a href=website.com target="_blank"><input type= .submit></a>
16th Nov 2016, 5:53 PM
Sandeep Chatterjee
+ 2
I meant it has code <a href=website target=_blank> or other a method but isn't opening in other tab too that's because it has scripts and scripts has code to open as a pop-up but your browser blocks pop-up either change seetinr in browser by changing block to allow for that site or change script or you can open innewtab
20th Nov 2016, 9:50 AM
Sandeep Chatterjee
0
share your code please. then I can say sth.
20th Nov 2016, 9:19 AM
Muratist
Muratist - avatar