views:

91

answers:

1

i am using asp.net mvc for my project. i am using partial views for that i used ajax jaquery every thing is working fine but i am not getting image for loading when i upload an image. image get displyed at local host it has problem when i upload the project. i have given image as:

$jq("#ajaxThrobber").html('<img src="/Images/ajax-loader.gif"> Loading.....');

please advice me thank you.

A: 

i got the solution use two dots before image path.

$jq("#ajaxThrobber").html('<img src="../Images/ajax-loader.gif"> Loading.....'); 
Renu123