getIsAjax() public method
Returns whether this is an AJAX (XMLHttpRequest) request.
Note that jQuery doesn't set the header in case of cross domain requests: https://stackoverflow.com/questions/8163703/cross-domain-ajax-doesnt-send-x-requested-with-header
public boolean getIsAjax ( ) | ||
---|---|---|
return | boolean |
Whether this is an AJAX (XMLHttpRequest) request. |
Please login to continue.