On 06/03/2008, Mike Alsup <[EMAIL PROTECTED]> wrote: > > > Is there a "better" way to add this extra parameter without having add > > an element to the DOM like this? > > > The better way is to have the server detect that the request was > submitted via ajax and respond accordingly. You can determine this > on the server by inspecting the "X-Requested-With" header. It will > have a value of "XMLHttpRequest" when the request originates via XHR. > Is that just because it's jQuery or does that apply in general to all browsers doing AJAX? > > Mike >
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com