Getting values from database in drop down using AJAX
I am having 2 dropdowns what I want is to get values from database when I select any value from 1st drop down the 2nd drop Down should change values and gets populated from database according to the value selected in 1st dropdown..It a one table one only and I am using JavaScript and I know that I need to use ajax but have no idea how should I connect to database through that..