By Frankcheck In javascript / jQuery September 14, 2022 0 On click container, get his children a href go to this page url $( ".portfolio .mod-banner__img" ).click(function() { //alert($(this).find("a").attr("href")); window.location = $(this).find("a").attr("href"); }); 1234 $( ".portfolio .mod-banner__img" ).click(function() { //alert($(this).find("a").attr("href")); window.location = $(this).find("a").attr("href");});