Re: Best Way to use AJAX in MachII
> Thank you Matt for your reply. Can you provide some links to start > with? I am a novice in Jquery. > I don't know of any links specifically demonstrating jQuery AJAX with M2. I would start with the jQuery docs: http://api.jquery.com/category/ajax/. The info there and the examples near the bottom of that link will get you pretty far. Also, googling "coldfusion jquery ajax" will you get you some things to read up on. -Matt ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332579 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best Way to use AJAX in MachII
Thank you Matt for your reply. Can you provide some links to start with? I am a novice in Jquery. Thanks > >What is best way to use Ajax in MachII? > > I won't claim it is the "best," but I like using jQuery to simply call > index.cfm?event=myAjaxEvent. > > You can do it as a POST or a GET. The event is then just like any > other Mach-II event with a call to a listener and ending in a view. > > The view page can then either output JSON or even HTML. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332576 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best Way to use AJAX in MachII
>What is best way to use Ajax in MachII? I won't claim it is the "best," but I like using jQuery to simply call index.cfm?event=myAjaxEvent. You can do it as a POST or a GET. The event is then just like any other Mach-II event with a call to a listener and ending in a view. The view page can then either output JSON or even HTML. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332574 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Best Way to use AJAX in MachII
What is best way to use Ajax in MachII? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332571 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm