tags:

views:

18

answers:

1

Hi there,

I have an AJAX call that returns HTML content with some images. Sometimes they load, but most of the time they don't.

Is there an issue I'm not aware of?

Thank you.

A: 

Try to see through the ajax request what response are you getting. Are you getting the response from server, etc

Sarfraz
I'm getting back content and data comes back from the server. Through Firebug in FireFox I can actually see the image address in the html code. Yet the image itself doesn't show up.
KcYxA
There should be requests from browser to server for images. Do you observe them (net tab) with firebug?
Andrew Florko
@KcYxA: Can you post what path is returned?
Sarfraz
@Sarfraz - you're goooooood. Figured it out :) The image indeed was not loading as FireBug showed and I had to correct the link format. Thank you!
KcYxA
@KcYxA: That is great to know :)
Sarfraz