Hi, This has me confused. I want to intercept ALL ajax requests on a page and before sending the request append another parameter to the request. So far this is what I have $.ajaxSetup({ beforeSend : function(xhr, opts){ this.data = $.extend({_kdfrequest:"action"}, this.data ); } }); $.ajax({ type:"GET", data:initial.params, url:initial.url }); This does everything except actually append the extra parameter. Am I doing something wrong? James
-------------------------------------------------------------------- This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be found on our website - www.kainos.com