On Click Open An URL In New Window With JQuery

Share Now


(function($) {
"use strict";

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

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

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

});

});

})(jQuery);

Picture of Nahid Mahamud

Nahid Mahamud

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