Gtghlfgxumxpk
New Member
I've created a Facebook/Twitter style status update where the new Status' get added to an unordered list. I now want to add a "REMOVE" function to it, however, I'm not sure how to best accomplish this. [*]In my list item, create my [a] tag with the unique ID of the status post ID and set a listener class[*]Have jQuery listen for [a] tags with the listener class[*]POST the ID over to the PHP script to remove the post; if successful return with "ok" or if failed return with "fail"[*]In the callback function, if it's OK, then find the element and remove it