Link to home
Start Free TrialLog in
Avatar of chartingnature
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=5DBC8EFBC94F5B7538A1F69300B4CCC6&_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::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/spy.js :: onHTTPSpyReadyStateChange :: line 497" data: no]
[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>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of chartingnature
chartingnature

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial