I've some tabs loaded dinamically with AJAX. BUT, my datasource have it's own images repository and it uses relative paths. So, I'm receiving from AJAX calls something like this <img src="/apps/images/XXXX.png" />
I'm trying to change these src attributes, but I can't wonder what is the correct place to do this.
I tried in beforeLoad event, change the images but, after that, I can't stop the default tabs load behavior and jQuery insert the original data content, overriding mine.
I also tried in load event, but the browser try to load images at the moment in which they are inserted (or transformed in html by a $(data) statement), so the browser gets some load errors I'd like to avoid.
How can I deal with this? What can I do to stop default insertion in beforeLoad event?