*Branko - just saw this ( obj._is_ajax =
web.ctx.env.get('HTTP_X_REQUESTED_WITH')) how could i use this with my
example?
*-----------------------
Visit
http://www.superantispyware.com/superantispyware.html?rid=3971 Remove All
The Spyware - Not Just The Easy Ones!
http://1-4-u.info | Don't send insanely long links!
Need a Pick-Me-Up? http://quotes.feedtheguru.com
On Mon, Jul 5, 2010 at 7:51 AM, Branko Vukelic <[email protected]> wrote:
> On Mon, Jul 5, 2010 at 1:19 PM, Greg Milby <[email protected]> wrote:
> > i've been wondering if webpy can use XMLHttpRequest - we need a search
> > function on webpy.org - i do not see anything like this in the site
>
> Whole point of XMLHttpRequest is that it's an xml *HTTP* request. So
> anything that can handle HTTP requests (GET, POST) can handle
> XMLHttpRequest. Just handle it as regular HTTP request with a special
> header. Here's an example:
>
> obj._is_ajax = web.ctx.env.get('HTTP_X_REQUESTED_WITH')
>
> --
> Branko Vukelić
>
> [email protected]
> [email protected]
>
> Check out my blog: http://www.brankovukelic.com/
> Check out my portfolio: http://www.flickr.com/photos/foxbunny/
> Registered Linux user #438078 (http://counter.li.org/)
> I hang out on identi.ca: http://identi.ca/foxbunny
>
> Gimp Brushmakers Guild
> http://bit.ly/gbg-group
>
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <webpy%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en.