Hello,
I’d like to use Ajax (surely Mootools) on my website, so I need a function to detect whether a request is from Ajax or not, because I want not to send the same data in each case.
Do you know how to do that?
Thank you
|
|
How to detect a Ajax request?
|
|
||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|