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,
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!
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.
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,
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!
Copy link to clipboard
Copied
Thanks a million for information and helping,
regards,
Iccsi,