WDDX can't be turned into variables with eval() - that's JSON you're thinking of.
Why are using WDDX? Can you either use the JSON returntype from a CFC or, if you are on an old version of CF, build a JSON return? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 20 July 2010 20:47, Will Blake <[email protected]> wrote: > > Hello all, > I have a select menu that I need to be dynamically populated with the > results of a db query. I am using jQuery/ajax to pass a value to search for > in the database. This all seems to work fine except what is returned is a > WDDX packet and I cannot figure out how to take the data that is returned and > put it in the dynamic select menu. > > I know CF has a de-serializier but, as this is done at run time on the client > machine I do not see how that would help. I know jQuery/JS you can use the > eval() function to parse the wddx packet, but the data that comes out looks > the same as the data going in. How do I navigate the wddx packet? I have > tried what would make sense (i.e. data.fieldName.value)but what JavaScript > shows me is blank or undef ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335514 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

