Hi there,

Am very new to this, so i'm sorry if I've made any mistakes in the following description.

Essentially, I'm trying to create an 'internal mailing system' within my site so that users can send and receive messages to and from each other. I've managed to get the sending of messages to work, and the problem i'm facing now, is with the receiving of messages.

I am able to retrieve the messages in XML form from the database. For example

Code:
<message>
  <sender>mysender</sender>
  <subject>randomsubject</subject>
  <messagebody>the message</messagebody>
</message>
would represent 1 message. What I would like to do now, is to display the messages like a typical email inbox, where the subject and sender are displayed as a link, and then on clicking that link, the message is shown. I was wondering if there is a way to implement something like that in AJAX? Any suggestions would be welcomed.

Thanks very much for your time and help. I really appreciate it!