Подскажите пожалуйста как получить доступ к $(this)
в success
var text = $.trim($(this).val());
if(text.length > 2) {
$.ajax({
url : "/model/tags_autocomplete.php",
type : "post",
dataType: "html",
data : ({text : text}),
success : function(data) {
$(this).after(data);
}
});
}