Problem with ajax plugin for refreshing posts

I think what’s happening is that the jQuery is not able to destroy the element because it is not wrapped in the .random-post li. Try adding that back in and see if it fixes your code.

Also, just a note, you added a space in random-post-excerpt that was not there in the original.