Sep 06, 2011

Is Ajax ExpressionEngine Plugin

For a recent project, I needed to detect whether a request was an AJAX request or not. MX Ajax Detect already existed, but I didn’t like that you needed the extra set of tags.

Usage

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

Download

You can find the plugin on Devot:ee and GitHub.

Categories