How to do the following if the img is in the background property instead of src ?
this.src = this.src.replace("_1","_2");
css:
#someimg {
background:url('someimg_1.jpg');
}
Something like:
$('#someimg').css.('background-image',
$(this).css('background-image').replace("_1","_2"));