Why the Ajax script is not running on IIS 7.5 Win 2008 R2 server?

后端 未结 1 1588
有刺的猬
有刺的猬 2020-11-22 05:45

I have a web app that works fine on VS 2013 on my development server, but once I published it on the IIS 7.5 2008 R2 server the Ajax scripts, located on my custom script fil

相关标签:
1条回答
  • 2020-11-22 05:59

    How to debug AJAX calls

    The full answer is spread across the comments on OP's question but I think this one helped the most:

    1. Go to the web page which makes the AJAX call
    2. In Chrome press F12
    3. Go to the Network tab
    4. Activate the AJAX call by submitting the form #reservSearch
    5. In the Network tab look for a call to /Home/GetRates
    6. Click it
    7. Check the Preview and Response tabs to see the output from your server
    8. Is it displaying the expected HTML data which your AJAX call is listening for?
    0 讨论(0)
提交回复
热议问题