|
Mailing Lists
|
Home / Groups / ColdFusion Talk (CF-Talk)
ajaxCFC with jQueryJust open jquery.AjaxCFC.js and you can see the default settings that get applied if you did not provide any: s = jQuery.extend({ // default attributes type: "POST", data: null, method: null, contentType: "application/x-www-form-urlencoded", processData: true, async: true, unnamedargs: false, serialization: jQuery.AjaxCFCHelper.getSerialization(), useDefaultErrorHandler: jQuery.AjaxCFCHelper.getUseDefaultErrorHandler(), blockUI: jQuery.AjaxCFCHelper.getBlockUI(), blockMessage: null }, s); // s = jQuery.extend Brook Hi All, I'm new to ajaxCFC (version integrated with jQuery). I can't find any docs to go with it (none in the zip file from RIAForge)......and tutorials are sparse and mostly old (circa 2007). I'm after any info I can find about the call itself....like this: ----------------------------------------------------------------- function sendData(frmData) { $.AjaxCFC({ url: "masterhandler.cfc", method: "ajaxCall", data: frmData, success: function(data) { sDumper(data); } }); return false; }; ----------------------------------------------------------------- Well in one tutorial I found, I discovered I can also use a "blockMessage" argument to override the default "Please Wait" message shown during a call. I also saw that I could add an "error" argument to specify the function to call on error. So where can I find the list of possible arguments? Does the list or args depend on what jQuery stuff you have turned on (like the blockMessage arg is only used when the blockUI helper is enabled)? I think some general details of how it all workls would shed a LOT of light on this for me ;-) TIA Cheers - Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: bryan@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. |
March 21, 2010
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||