a:2:{i:0;a:1:{s:4:"data";a:1:{s:7:"entries";a:1:{i:0;a:7:{s:2:"id";s:2:"61";s:5:"title";s:31:"Is Ajax ExpressionEngine Plugin";s:11:"displayDate";s:10:"09.06.2011";s:13:"attributeDate";s:10:"2011-09-06";s:4:"body";s:520:"
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.
";s:13:"numberOfLikes";i:1;s:10:"bodyBlocks";a:0:{}}}}}i:1;O:25:"yii\caching\TagDependency":3:{s:4:"tags";a:4:{i:0;s:7:"element";i:1;s:29:"element::craft\elements\Entry";i:2;s:40:"element::craft\elements\Entry::section:4";i:3;s:7:"graphql";}s:4:"data";a:4:{s:40:"CraftCMSce35088bdfe0816226cd17fd051a4803";s:21:"0.70573500 1736501960";s:40:"CraftCMS2743a789e8993267a348eee1ee7e4450";s:21:"0.67537500 1713205687";s:40:"CraftCMS2ac34726f299f7e18e449d8e536c67f8";s:21:"0.12493100 1740236466";s:40:"CraftCMS3817d4a648fcfac939af46605323feb0";s:21:"0.36746500 1735923287";}s:8:"reusable";b:0;}}