The attached script is used to call categories and subcats from the DB and create chained select boxes. The problem is, it calls every single category from the db first causing a bottleneck on my site (considering I have hundreds, maybe thousands of categories) What I want to do is just call the parent cats and onclick, call the subcats for that parent only and populate the next select box. The code basically does this already but is calling every cat and subcat first.
Hi, I can modify "[login to view URL]": call only parent cats when loaded. When user click on parent cats - load subcats for clicked cats. Please, note: I have 600+ completed projects via "ScriptLance" type sites.