chartingnature
asked on
Coldfusion 8 Bind fails
This problem should have a simple answer, but I don't see it. I get the following error after I enter data in the 1st cfinput box. Why?
/cart.cfc?meth...clientid= 5DBC8EFBC9 4F5B7538A1 F69300B4CC C6&_cf_rc= 0
http://127.0.0.1:8500/Chartingnature/cart.cfc?method=getImgid&returnFormat=json&argumentCollection=%7B%22area%22%3A%22fish%22%7D&_cf_nodebug=true&_cf_nocache=true&_cf_clientid=5DBC8EFBC94F5B7538A1F69300B4CCC6&_cf_rc=0
[Exception... "'SyntaxError: parseJSON' when calling method: [nsIDOMEventListener::hand leEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_ OBJECT)" location: "JS frame :: chrome://firebug/content/s py.js :: onHTTPSpyReadyStateChange :: line 497" data: no]
[Break on this error] return new ActiveXObject(_16[i]);
cfajax.js (line 103)
/cart.cfc?meth...clientid=
http://127.0.0.1:8500/Chartingnature/cart.cfc?method=getImgid&returnFormat=json&argumentCollection=%7B%22area%22%3A%22fish%22%7D&_cf_nodebug=true&_cf_nocache=true&_cf_clientid=5DBC8EFBC94F5B7538A1F69300B4CCC6&_cf_rc=0
[Exception... "'SyntaxError: parseJSON' when calling method: [nsIDOMEventListener::hand
[Break on this error] return new ActiveXObject(_16[i]);
cfajax.js (line 103)
CFFORM name="b">
Enter Area: <cfinput type="text" name="imgarea" id="iarea"> <br />
<cfinput type="text" name="number" label="email" bind="cfc:cart.getImgid({imgarea})">
</cfform>
------------------------------------
<cfcomponent displayName="Miscellaneous">
<cffunction name="getImgid" access="remote">
<cfargument name="area" type="string" required="yes">
<cfset rarea=area>
<cfreturn rarea>
</cffunction>
</cfcomponent>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.