Use jQuery's getJSON() to call a CFC containing and returning your stored proc call. Make the returnType JSON and you'll get a JavaScript object. You can then assign various bits of the javasript object to your form, in the getJSON() callback.
mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ On 7 April 2010 05:10, Doug Ford <doug.e.f...@gmail.com> wrote: > > Hi folks - > > I have a question that could probably fall into multiple categories on HOF, > but I thought I would start with my default list! ;-) > > Anyway, here's my story: > > I have a web page split in half. > Left half has different records being displayed. > > Right half has a form, which populates a set of tables, and then that > information appears on the left half. This process is working. > > The current challenge is this: > > The Left side has different records appearing on it as mentioned, it's not > an iFrame BTW - the records have an ID number. The user would click on the > ID number, and then form on the Right gets populated with that record's > details. > > What I am hoping to do is pass the ID number using jQuery to a CF form, > that gets the data from a query, passes the data back, and then that data is > told to go into the proper fields to be displayed. > > Here are my questions/statements: > > I can send information to the CFM page with the ID on it. > > 1) When I perform the CFSTOREDPROC and assign it to a resulting variable. > What do I have to do to, or what commands are needed so that it can be > taken back to the original calling page. > > 2) Once the data comes back, what format is the data in? > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:332686 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm