+ 1

How to update 2 divs using AJAX PHP?

I want to update LIKE DISLIKE count as well as the VOTE count containing in two different divs

16th Feb 2018, 4:10 PM
Pukhramabam Prameshwormani Singh
2 ответов
+ 1
I notice you're starting to learn jQuery. You don't have to, but I'd recommend that you finish reading through jQuery. jQuery makes it INSANELY easier to interact with AJAX/PHP and accomplish what you're trying to do. If you want a PHP/vanilla JS example, I can still post it, but I still can't stress enough how much better it is in jQuery to deal with this situation. Let me know.
16th Feb 2018, 4:13 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
You can use .ajax() method of jQuery and udate the vote count in your database table. That's All |
25th Feb 2018, 11:45 AM
Lana
Lana - avatar