文章出處
文章列表
ajax請求時找到了正確的地址,執行完返回總是進入error里,并且瀏覽器錯誤顯示是找不到請求的地址。
解決辦法:
查看配置文件的,把maxJsonLength值改大。
<system.web.extensions> <!--配置 JSON 序列化--> <scripting> <webServices> <jsonSerialization maxJsonLength="500000"/> </webServices> </scripting> </system.web.extensions>
文章列表
全站熱搜