On 4/6/07, Ariel Jakobovits <[EMAIL PROTECTED]> wrote:
Just curious, what changes about the server's behavior when the x-Method is specified as Ajax?
By itself, it doesn't do anything. But in your server-side code, you can look for this (or more accurately, look for an HTTP header named "X-Requested-With" with the value "XmlHttpRequest") and alter your code's output accordingly (what "accordingly" means is entirely up to you). For example, you could have a URL that sends a complete HTML page with your site's header, footer, navigation, etc when requested normally through the browser, but when requested through AJAX it only outputs the content it created (without the header and stuff). -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com