Want to show “loading…” in PHP page
问题 I am developing a web-page in PHP that needs following functionality: 1. When User click on "Say Thanks" it should be changed with "Done!". 2. At the same time I want to call an action in indexController. 3. At this time I want to show "loading...." 4. The current page has a lot of dynamic contents that should also not change. Please suggest me what should I do to complete above tasks...... 回答1: I figure you need an AJAX call. I usually do that for loading comments and such when you press