i tried but not wrking
am placing a sample code which i used

 <script type="text/javascript">
  $(document).ready    (

             $('img').each(
                function()
                    {
                        $('img').attr({'src', "http://localhost/
s.demo/"+$(this).attr('src')});
                    });
                );
    </script>

buddha

On Jan 20, 5:18 pm, Giovanni Battista Lenoci <gian...@gmail.com>
wrote:
> Sorry i forgot the braces.
>
> This is the right code:
>
> > $('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