usually there's an header "X-Requested-With=XMLHttpRequest" being added by
all ajax frameworks.
If it does not do this by default it should be very easy to add it to every
request.
On Fri, Oct 17, 2008 at 8:47 PM, Gabriel Mancini de Campos <
[EMAIL PROTECTED]> wrote:
>
> i know i can made something like this:
>
> > $.post("MenuList.mvc?ajax=true", {} , generatedMenu, 'json');
>
> but its so ugly :(
>
> On Oct 17, 3:43 pm, Gabriel Mancini de Campos
> <[EMAIL PROTECTED]> wrote:
> > how i know when request comes from ajax execution ???
> >
>
--
Ken Egozi.
http://www.kenegozi.com/blog
http://www.musicglue.com
http://www.castleproject.org
http://www.gotfriends.co.il
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---