[eluser]slowgary[/eluser]
Are you using a JavaScript framework?
If I understand your problem correctly, you just want to remove an element after an AJAX request, is that correct?
I like to use the jQuery framework as it makes everything so easy. You could do something like this:
Code:
$('#elementid').remove();
I'm not exactly sure what you're trying to do though. You should post a link or some code.