IMG SRC

IMG SRC

Hi, I've just started using JQuery, and need some help.

Is there anyway to get an img src from within the currentl active ul tab?

I need to combine the image src with the tab filepath. I'm getting the file path like so

$( "#tabs" ).tabs({
        show: function(event, ui) {
            var url = $.data(ui.tab, 'load.tabs')
            var locarray = url.split("/");
            delete locarray[(locarray.length-1)];
            var arraytext = locarray.join("/");
            alert(arraytext);
            }
        });
 
Any help most appreciated

cheers