I know that my question is poorly worded but i don't know how to say it better..

I actually work with a .each() loop, and in this loop, i must change a css() parameter of the current item, but i don't success..

Here is my code:

```
$(document).find('.test').find('p').each(function(){
    var test=$(this).css('background-image').split('(')[1].split(')')[0];
    var retGet=$.get(test);
    $(this).css({
        'background-image':  'url(data:image/png;base64,'+retourGet.responseText+')'
    }); 
});

```

I removed the part of the url editing (the second line give me the actual url and i edit it).

When i use this code, i get undefined in my css parameters... It seems that when i try to change the background image, the $.get loading is not ended...

I tried to do something like this: 

```
$.get( test, function( data ) {

});

```

But i don't know how to access the .each() $(this) here..