How can we change only inner part of a web page?

前端 未结 7 1104
说谎
说谎 2020-12-06 08:25

I am developing a web application, where headers and footers for all pages are the same. What I want to achieve, is to change only the part of the page between the header an

7条回答
  •  旧时难觅i
    2020-12-06 08:56

    You are looking for AJAX (acronym for Asynchronous JavaScript and XML)

    in jQuery you can use $.ajax

    here is an example/tutorial on how to do this with php.

提交回复
热议问题