Yeah, that's not too difficult with something like jQuery. Basically you'd do a $.getJSON call to your fuseaction, return your data, then run a function to check the checkboxes based on the data you returned. That function would be dependent on how you returned the data and what your markup is like for the checkboxes.
The first thing to do is make sure you're getting the JSON data back that you expect, by using Firebug or some other debugging method. Once you have that working, you can write the function that updates the checkboxes. -- Josh -----Original Message----- From: Dan LeGate [mailto:[email protected]] Sent: Friday, April 17, 2009 11:07 AM To: cf-talk Subject: Using Ajax to populate checkmarks? Hi all, We have an application we're building that will allow users to pick a "template" user to pre-populate some checkboxes based on that user's privileges, but not on initial load of the form. Initially ALL checkboxes will be unchecked when the page loads, however, based on this lookup, it will check certain boxes without having to reload the form. User's will be selecting a template from a select menu, and that would trigger the lookup. Has anyone done anything like that, where, based on a database lookup, you are able to "check" certain checkboxes on the page AFTER THE PAGE HAS LOADED? (i.e. this is an Ajax lookup) What did you use? Or what *would* you recommend we use. Would JQuery lend itself nicely to this? We're open to anything. Have any example code? We'd also be calling it from within a Fusebox 5.5 (xml approach) app, so any hints/suggestions there would be greatly appreciated. Also, we are on ColdFusion 7, so can't use the new CFAJAX stuff. Any help is appreciated. Thanks! Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321771 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

