$(".us_img__cnt").click(function () { var src = this.style.backgroundImage.split('"')[1]; alert(src); });