$("img").attr('src',function() {return xsrc;})
temp = "img"; $(temp).attr('src',function() {return xsrc;})