jquery ajax not working second time

Posted by Anbusenthil under jQuery on 3/29/2015 | Points: 10 | Views : 2640 | Status : [Member] | Replies : 1
i am using jquery ajax to call a ashx file , where mail functionality is implemented . this jquery ajax call is written in html5 page inside visual studio. call works only first time , second time it does not work.. only if i refresh the page it works the next time




Responses

Posted by: Rajnilari2015 on: 3/30/2015 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 25

Up
0
Down
I believe you need to reload the page and made the Ajax call. You can try with
location.reload();


This page ( http://stackoverflow.com/questions/5404839/how-can-i-refresh-a-page-with-jquery ) have a very good discussion for this.

Regards
Niladri

--
Thanks & Regards,
RNA Team

Anbusenthil, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response