My problem is that i have 2 dropdowns
that get its content from my DB
, a simple SELECT *
with the category and then select a item from that category.
First dropdown : "dropdown_type" is the category.
Second dropdown : "dropdown_abo" is the item.
At the second dropdown, i am using a JQuery pluging that makes it possible to search inside the dropdown, to get the item faster then scrolling (theres gonna be a lot of items in it). You can see the plugin here
When you select a item from the second dropdown, a div(abo_info
) below shall show all the info of the selected item.
My problem is that I'm stuck, and don't know how to proceed. How can i make it so, when i select a category, and then an item i get the content from that item shown in the div below?
I'm using PHP
, JQuery
and Mysql_*
(to DB connect, know about PDO
but im not that good at it).
Can i please get some help here, or some examples on how it can be done?