Ticket #11071: 11071.diff
File 11071.diff, 796 bytes (added by , 15 years ago) |
---|
-
docs/ref/request-response.txt
232 232 233 233 Returns ``True`` if the request was made via an ``XMLHttpRequest``, by 234 234 checking the ``HTTP_X_REQUESTED_WITH`` header for the string 235 ``'XMLHttpRequest'``. The following major JavaScript libraries all send this 236 header: 237 238 * jQuery 239 * Dojo 240 * MochiKit 241 * MooTools 242 * Prototype 243 * YUI 244 235 ``'XMLHttpRequest'``. Most modern JavaScript libraries send this header. 245 236 If you write your own XMLHttpRequest call (on the browser side), you'll 246 237 have to set this header manually if you want ``is_ajax()`` to work. 247 238