Appending <p> with value from <a>

Appending <p> with value from <a>

I'm trying to insert the title from an <a> into the <p> as an append. Right now the two functions are being called onMouseover and onMouseout. I'm not sure how to pull the text value out of the title based on which <a> is being hovered over.

Any suggestions?


function TestAlert() {      
       $("p#test").append($(this).title.val());      
       $("p#test").show();
   }
   function TestOut() {
       $("p#test").empty();      
       $("p#test").hide();
   }