Jquery get das title-Attribut, problem

Title-Attribut nicht zeigt.
Wenn Ihr einen Tipp habt über ein anderes Attribut geben, nur muss ich diese Daten abrufen, um in das div, lassen Sie mich bitte wissen.

$(function() {

    var offsetY = 10;

    $('a').hover(function(e) {
        var title = $(this).attr('title');
        $('<div id="PopRoll">'+title+'</div')
        .css('top', e.pageY + offsetY)
        .appendTo('body');
    }, function() {
        $('#PopRoll').remove();
    });


}); 

In diesem href:

<p ><a href="#" title="text" class="JobLink">More Information</a></p>
InformationsquelleAutor Mango | 2010-02-26
Schreibe einen Kommentar