Welcome to the Cookbook

loading...

7.1.2.9 isAjax

isAjax()

Allows you to check if the current request is a Prototype Ajax request inside a view. Returns a boolean. Can be used for presentational logic to show/hide blocks of content.