Hi,
You should start with looking into Ajax requests, remove href value from A tag and adding there custom js click event.
Step by step:
1. Remove href value
2. add custom onclick event with function for example LoadData
3. In new js function LoadData call with $.get proper url, and replace content of the chat with the response from $.get
Thanks,
Anton