[jQuery] Copy a class links to a paragraph works on all browsers but Firefox

[jQuery] Copy a class links to a paragraph works on all browsers but Firefox


Hello,
at this <a href="http://baustelle.besucherring.org/frontend/
karte.htm">page</a> I use the following jQuery Script to highlight the
towns at the map when the user is hovering over the items at the
navigation
$(document).ready(function(){
$("#block_2 h2").after("<p id=\"kartenort\">");
    $("#navi_ring a").hover(function(){
var kort = $(this).text();
        var ortcl = $(this).attr("class");
        $("#kartenort").html(kort);
        $("#kartenort").addClass(ortcl);
    },function(){
        $("#kartenort").removeClass();
});
});
This works pretty well with Opera, Safari and IE7 but not with Firefox
It would be very nice if anyone could give me an advice what to do.
Thomas