• Hey WordPress Community

    I need to create a 4 tier drop down list with each tier is dependant on the previous entry.

    it will be a Car Make >>> Car Model >>>> Engine Size >>> Varient

    I found a jquery tutorial when all the data is loaded together however eventually the fields will have over 1000 different car variants in total so this will put affect the load time of each page.

    Whilst googling through the internet for solutions I read up on AJAX which sounds like an ideal solution to my problem but most tutorials I have found of AJAX and drop down lists are to do with ASP.NET databases. Any one know of a tutorial of AJAX cascading Drop down that will work on a WordPress site.

    I should also add I need this tool to work as a widget in the sidebar of my page so I will be putting the code in the widget area in the WP Dashboard

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Captain Kashmir

    (@captain-kashmir)

    Also I’m not sure if I posted this in the correct section

    Apologies if I didn’t

    Thread Starter Captain Kashmir

    (@captain-kashmir)

    So I found a work around using javascript. Once I have finished populating the lists I will link to the relevant pages.

    Seems a bit long winded but I couldn’t find much alternative.

    My code

    it works so no complaints for now

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to create an Ajax Cascading/Chained/Dependant Dropdown list’ is closed to new replies.