Method: r::is_ajax
Checks if the current request is an AJAX request
Info
Syntax
r::is_ajax()
Return (boolean)
Example
if(r::is_ajax()) echo 'ajax rulez';
Checks if the current request is an AJAX request
r::is_ajax()
if(r::is_ajax()) echo 'ajax rulez';