Copy link to clipboard
Copied
I want to put a related select inside a cfdiv page.
I use the related select code in my app successfully in other cfforms but I am having trouble getting it to work.
Here's the code I want to have inside the cfc...
<cfselect name="states" bind="cfc:select.get_states()" bindonload="true">
<cfselect name="cities" bind="cfc:select.get_cities({states})" bindonload="false">
It works fine if I run that code outside of the cfdiv file, but for some reason when its a part of the page "city_state.cfm" that is called by a cfdiv it generates a bind failed, element not found error.
Copy link to clipboard
Copied
I moved all the files into the same directory because one of the files was in a folder that required authentication. That seemed to do something... but I am now getting the following error...
"Error processing javascript in markeup for element..."