-1
How do I do the Location below open in a new guide?
$(".mySlides").click(function(){
let url = $(this).data('value');
$(location).attr('href', url);
});
-1
How do I do the Location below open in a new guide?
$(".mySlides").click(function(){
let url = $(this).data('value');
$(location).attr('href', url);
});
3
No need for JQUERY
$(".mySlides").click(function(){
let url = $(this).data('value');
window.open(url, '_blank');
}
Browser other questions tagged jquery
You are not signed in. Login or sign up in order to post.
OK. But, what if I wanted to use jQuery. There is a way around this?
– Carlos Rocha
I think not, jquery is made to simplify if I am not mistaken, but as you can see this situation is already very simple but not 100% sure that there is something similar in JQUERY
– ScrapBench
But it’s already great! This solution I already knew. but as you had the good will to help, it was worth the point! Thanks!
– Carlos Rocha