href attribute of <a> not being set
<p>In my application, I send an AJAX request to a server, and based on some data, I have to change the <strong>href</strong> attribute of  element. Here's my code:</p>

<pre><code>$('#unclaimed_codes_list li').map(function(){
    $(this).children("a:first").text(fname + ' ' + lname + '(' + key + ')');
}

$.get('/accs/get_val/' + key, function(data){
    var edit_href = '/ak_access_levels/' + id + '/edit';
    alert(edit_href);
    $(this).children("a:first").attr('href', 'edit_href');
});
</code></pre>

<p>But its not working. I can see that my edit_href value is correct, but still, the href attribute is not being set. Am I missing something? Thanks.</p>
