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

CFSELECT list are from the other CFSELECT

Engaged ,
Jul 31, 2013 Jul 31, 2013

Copy link to clipboard

Copied

I have 5 CFSELECT for Department, Manager, supervisor, Group Leader and Employees

I want to every CFSELECT list narrow down for an upper CFSELECT.

For example, once user select Department then all Manager, Supervisor, Group Leader and Employee list will be narrow down by department

and same for manager and supervisor and so on.

I can use iframe or jQuery to do every level, but it needs to call iframe or jQuery or 5 levels.

I would like to know are there any better way to handle this situation,

Your help and information is great appreciated,

Regards,

Iccsi,

Views

589

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

correct answers 1 Correct answer

Engaged , Aug 01, 2013 Aug 01, 2013

1. Prepare five select tags with their default value.

2. Write AJAX using jQuery to inject data (option tag) in to the appropriate select tag.

3. Bind the tags with the AJAX on change event.

That's all!

Votes

Translate

Translate
Engaged ,
Aug 01, 2013 Aug 01, 2013

Copy link to clipboard

Copied

Use HTML select tag and jQuery AJAX to narrow down the options. There are plenty of examples on the Net.

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
Engaged ,
Aug 01, 2013 Aug 01, 2013

Copy link to clipboard

Copied

Do you mean to create HTML tags at run time to build any level lower or using ajax to inject data to lower level dropdown?

Thanks a million for the information and help,

Regards,

Iccsi,

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
Engaged ,
Aug 01, 2013 Aug 01, 2013

Copy link to clipboard

Copied

1. Prepare five select tags with their default value.

2. Write AJAX using jQuery to inject data (option tag) in to the appropriate select tag.

3. Bind the tags with the AJAX on change event.

That's all!

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
Engaged ,
Aug 01, 2013 Aug 01, 2013

Copy link to clipboard

Copied

LATEST

Thanks a million for information and helping,

regards,

Iccsi,

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