How to update a mysql database without reloading page

前端 未结 4 712
抹茶落季
抹茶落季 2020-12-18 13:26

thanks for looking. I have a very long list of items, users click on an image (a plus sign) to add the item to their personal list. At the moment when they click the + it l

4条回答
  •  半阙折子戏
    2020-12-18 14:07

    http://jquery.com/ would be my suggestions. You are going to need to do some AJAX calls to the server to have it interact with your DB and then get a result back and display that information to the user. I prefer JQuery as it simplifies a lot of these calls and the documentation for it is fairly good. There are tons of tutorials around for the basics.

    A simple google search reveals quite a few http://www.google.com/search?q=jquery+ajax+tutorial

提交回复
热议问题