jquery ajax请求多个返回值?

I followed the tutorial from this page:

http://www.keyboardninja.eu/webdevelopment/jquery-ajax-call-tutorial

and already got the random number output. But how can I change the function (and the php file?), that I get multiple returns ("msg" in the example), to fill different divs? Or is that not possible, so I gotta fill the containing div with the stuff and put a whole lot of code into the echo part in the php file?

Thanks

查看全部
dtmjqyfz21793
dtmjqyfz21793
2015/12/01 10:29
  • request
  • get
  • php
  • ajax
  • jquery
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

3个回复