dbarasuk - 12:09 pm on Nov 25, 2011 (gmt 0)
I have two tables in database, one with a list of university faculties and another with professors with a relation to the faculty in which they teach.
I have also a form that inserts a thesis topic in another table with two select fields (IN fact the form does not contain only two fields, this is to explain the idea i am trying to convey). The first field contains the list of faculties and another select field is designed to be populated with the list of professors depending on the faculty chosen in the previous field. Although my Ajax knowledge is low, i believe that an ajax request is sent in the background to the server to retrieve the list of professors from the database and then display that list according to the faculty chosen in the faculty html select field.
Can someone point me to a good tutorial to learn how that is done or even provide me a sample code for that?
Thanks in advance