Starting with
http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-2-Related-Selects
I've
developed a page with nine related cfselects like this:
<cfselect name="cfs1" id="cfs1" bind="cfc:bindcfc.getcfs1({cfs2}, {cfs3},
{cfs4}, {cfs5}, {cfs6}, {cfs7}, {cfs8},
{cfs9})" bindonload="true"></cfselect>
<cfselect name="cfs2" id="cfs2" bind="cfc:bindcfc.getcfs2({cfs1}, {cfs3},
{cfs4}, {cfs5}, {cfs6}, {cfs7}, {cfs8},
{cfs9})" bindonload="true"></cfselect>
etc
This sort of works. Page loads with no errors and selects fill in their
options. The problem is that FireBug shows an apparent infinite loop of
calls from cfajax.js to my bindcfc and, eventually, the browser crashes.
Can you see what I'm doing wrong?
--
John Bliss
IT Professional
@jbliss (t) / http://www.brandiandjohn.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:337549
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm