Home » Jquery » Change Imgae url based on Title Jquery script


$(".img_thumbs  img").click(<strong>function</strong> () {

var title =  $(".img_thumbs  img").attr("title");

//  alert("title");

$(".pdetail").attr({

src: title,

title: "jQuery",

alt: "jQuery  Logo"

});

});

Array ( [0] => Jquery )