This is very simple. I need "to ajax" one of my functions in the admin panel of my site. I have a list of items, which are being submitted me to by users. I have to moderate these items, so some get approved, some get rejected. Its usually a pretty long list, so having it refresh on me after every approval/rejection is rather annoying. I want to make it so it approves/deletes the item from the list without refreshing, and simply collapses the div tag that contains the item data. The approvals collapse to a green-themed box, rejections to a red-themed box. One you refresh the page, the collapsed boxes disappear. Ive provided an image to illustrate what I mean.
[url removed, login to view]
I will need you to make a working mockup, and I will integrate it into my code.