I have the following information in a div
<div class = 'list'>Abc, Test, Ready</div>
Below the div, I have this additional information
<a href=javascript:void(0) class = "Abc">Remove Abc</a>
<a href=javascript:void(0) class = "Test">Remove Test</a>
<a href=javascript:void(0) class = "Ready">Remove Ready</a>
I am trying to write a jquery function that will remove either Abc, Test, Ready (and the comma if necessary) from the div.list when you click on the relevant remove link.