javascript - How to retain the data obtained through ajax on the second-level page on the first-level page when returning to the previous page
怪我咯
怪我咯 2017-06-15 09:23:28
0
1
659

For example, there is a page with a shopping cart on the left and a menu list on the right.

Clicking on a certain dish will jump to the corresponding details page of the dish, which is a new page.

Select information such as specifications and attributes. After obtaining it with ajax, it will return to the original menu list.

But I want to display the selected dish information on the shopping cart. How to do this?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all (1)
曾经蜡笔没有小新

After ajax request, this partial refresh effect can be achieved in success, personal method (^~^).

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!