i want that what ever user select from combo box on page the other field or combo box of same page get affeted with new value, values are fetched through database and make change how to do this.
e.g.
if i select any company name in company name combo box
then in next combo box lable as name of employee shold contain all employee of selected company.
how to give such effect as dynamically changing the content of combo box based on above combo box selection
i m using java script with method onchange()
but here i have to fire query to database on that value so how to do this in php.
whether i have to use php in javascript or
any other way?
if i have to use php in java script then how to do this ?