AJAX request callback using jQuery

后端 未结 5 1016
梦谈多话
梦谈多话 2020-11-21 23:01

I am new to the use of jQuery for handling AJAX, and have written a basic script to get the basics down. Currently I am POSTing an AJAX request to the same file, and I wish

5条回答
  •  抹茶落季
    2020-11-21 23:29

    I believe this post answers one aspect of what you are seeing - the echoing of the entire page in your alert box.

    Next, here are some good posts for getting the basics of AJAX:

    A simple example

    More complicated example

    Populate dropdown 2 based on selection in dropdown 1

提交回复
热议问题