Reputation: 11
I have 2 listboxes on my web page. I want to populate second listbox by a value selected in first list box. When I select an option in firstlistbox it queries a table on my backend and populates the secondlist box based on the results. I cannot use php script inside a javasript so what should I do?
Upvotes: 0
Views: 103
Reputation: 1146
You are asking how create a sub categories list box. You need create it easily using AJAX.
Here are the steps you need to do.
I found this article for you.
Hope it helps.
Upvotes: 0