[jQuery] AJAX return value

[jQuery] AJAX return value


Hello,
I have a page which shows items in a list. I want to call jQuery.ajax
and in the return have either:
A fail response with a failure string
or
A success response, a success string, and a bit of HTML to replace the
old item on my page.
What's the best way to send both a response string and a bit of page
update HTML?