i have some.jsp in web-inf folder. inside jsp have below code.
<script type="text/javascript" src="../public/js/jquery-1.4.1.min.js"></script> <script type="text/javascript" src="../public/js/form.js"></script> inside form.js have below code:
$('#theform #formprogress').html('<img src="/images/ajax-loader.gif" /> saving…'); ajax-loader.gif in webapp/public/images folder .
but image not loading. please me.
thanks!
your own text answers question: you're using wrong file path:
$('#theform #formprogress').html('<img src="/public/images/ajax-loader.gif" /> saving…'); if image in /public/images, why try loading /images?
Comments
Post a Comment