• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Related select inside a cfdiv

Participant ,
Jun 14, 2010 Jun 14, 2010

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.

TOPICS
Advanced techniques

Views

400

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 14, 2010 Jun 14, 2010

Copy link to clipboard

Copied

LATEST

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..."

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation