[jQuery] Selector don't work when adding html to page

[jQuery] Selector don't work when adding html to page


Hi people:
The Selector work fine in the page however when a load data from HTML
archive the Selector don't apply for this.
TIA,
JETM
The Code:
In tag head:
$(document).ready(function() {
// Change attr to _blank for open in new Windows
$("a[@href^='http']").attr('target','_blank');
    $("#action").click(function() {
     $.ajax({
url: "update.html",
success: function(data) {
                $("#text").html(data);
},
error: function(rhx, err, e) {
             $("#text").html(rhx.responseText);
}
}); //END .ajax
    }); //END click
}); //END Ready
In tag body:
<a href="http://www.google.com">CLICK HERE!!!</a>
<p id="action">Load Data
<p id="text">
In update.html:
<a href="http://www.yahoo.com" >Open in New Windows</a>