I'm doing a search within list of people. And I want it to show results on the fly and so it does. But there is one link that I need and it should look like this:
chatid=18&userid=45&create=new
but after the results are displayed through this:
$.get('/ajax.php', {sec: 'search_users', ajax: 1, search_for: $(this).val()}, function(data)
{
$(".rBoxContentStaff").html(data);
});
I get this result:
chatid=18&userid=45&create=new
And the link doesn't work. This seems to happen in html() and also append().
I found no solution for this so I had to change the triggering of the link.