ExpressionEngine plugin to determine if it's an AJAX request
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
is_ajax
README.md

README.md

NOTE: This plugin is unnecessary since EE has a built-in method.

Is AJAX?

This EE 3.x plugin returns true or false depending if it is an AJAX request.

Usage

{if {exp:is_ajax} == "true"}
	OH YEAAAH
{if:else}
	OH NOOO
{/if}