b u d d h a ha scritto:
hi,

i have more than 20 images in a form

which might be refering like this <image src = "images/search.gif"/>

i want a jquery script for replacing all image src with <image src =
"http://s.images/images/search.gif"/>
This is the code, but personally I prefer make changes like this on the server side.

$('img').each(function() {
 $('img').attr('src': "http://s.images/"+$(this).attr('src'));
});

--
gianiaz.net - web solutions
via angelo custode, 10 - 23100 sondrio (so) - italy
+39 347 7196482

Reply via email to