On Click Open An URL In New Window With JQuery

Share Now

Share on facebook
Share on pinterest
Share on twitter
Share on linkedin
Share on email

(function($) {
"use strict";

jQuery(document).ready(function($) {

$('.icon-col1').on('click', function() {

$("<a>").prop({
target: "_blank",
href: "https://dev.to/"
})[0].click();

});

});

})(jQuery);

Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert