I’m trying to make “like” buttons on my site which basically submit a form without refreshing the entire page as it does now. I was thinking of using iframes, but I’m not sure if that is a great idea. I’m not sure where to look or what to search, but I can’t seem to find any tutorials. Where should I look?
Share
Check out this tutorial. It uses JQuery and Ajax to create the kinds of buttons you’re looking for. It uses Twitter’s “Follow/remove” idea as an example but that is virtually identical to Like/Unlike at the client. And here’s an SO post with a number of JQuery-based solutions.