loading html content as a json

后端 未结 3 803
死守一世寂寞
死守一世寂寞 2021-01-16 10:41

I am using php & jquery. I use ajax calls to load some huge html content got from some other php page. As it gets slower as time goes, i understood that the problem is t

3条回答
  •  鱼传尺愫
    2021-01-16 11:06

    if i understand your problem, u want the return data in jSON then simple use

    jQuery.ajax({
    
                  dataType:'json'
    })
    

提交回复
热议问题