result();
/**
* Example usage
*/
/*echo '
';
echo '
';
echo '
';
echo '
';
echo '
';
add_to_jquery('
search_ajax("'.ADMIN.'includes/acp_search.php'.fusion_get_aidlink().'");
function search_ajax(url) {
$("#search_box").bind("keyup", function () {
$.ajax({
url: url,
method: "get",
data: $.param({"pagestring": $(this).val()}),
dataType: "json",
beforeSend: function () {
$("#ajax-loader").show();
},
success: function (e) {
if ($("#search_box").val() === "") {
$("#adl").show();
$("#search_result").html(e).hide();
$("#search_result li").html(e).hide();
} else {
var result = "";
if (!e.status) {
$.each(e, function (i, data) {
if (data) {
result += " " + data.title + "";
}
});
} else {
result = "" + e.status + "";
}
$("#search_result").html(result).show();
}
},
complete: function () {
$("#ajax-loader").hide();
}
});
});
}
');*/