I have created a javascript object
var spanglist = {
one: q1,
two:q2,
three:q3,
four: q4};
I create the ajax jquery object to send the data to the CFC:
$.ajax({
url: 'gridly/components/pay.cfc',
type:"POST",
dataType:' json',
data: {method: "structFromJSobjt",
returnFormat:"json",
jsStruct: spanglist}
});
in my cfc I have the following simple code:
<cffunction name="structFromJSobj" access="remote" output="false" >
<cfargument name="jsStruct" required="true" default="" />
<!--- AT this point I would like to work with the data contained in the jsStruct object. I can't access the data regardless of the typeI make the cfargument --->
</cffunction>
Can someone poit me in the direction to play with the data once it is in the cffunction.