I have select box for company whose values are populated from DB and I also have another select box for department. Now I have a PHP function to get the values of department if we pass the id of company into it. I have to use this function to populate the department select box every i select the company name.
hence,
How to pass the selected value from select box to a PHP function?
thanx , every answer is appreciated.
Try looking at this: http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/