troynt on 02/11/09
Last Edited at 02/11/09 11:18am
function is_ajax(){return (isset($_SERVER['HTTP_X_REQUESTED_WITH']) ANDstrtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest');}
Report this snippet Tweet
Comment:
You need to login to post a comment.