The result is probably not in JSON format, so when jQuery tries to parse it as such, it fails.(结果可能不是JSON格式,因此当jQuery尝试如此解析时,它将失败。)
You can catch the error with error:
callback function.(您可以使用error:
callback函数来捕获错误。)
You don't seem to need JSON in that function anyways, so you can also take out the dataType: 'json'
row.(无论如何,您似乎都不需要在该函数中使用JSON,因此您也可以取出dataType: 'json'
行。) 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…