I am developing a application where the application contains three fields.First field name is organisation name with a dropdown,second field name has two radio button where one name is free and other radio button value is pay.third field name is course with drop down. here the oranisation drop values are retrived from database that i had done. but based on organisation name i select and then select a radio button whether free or pay , automatically i should retrieve all the values regarding to course from the database. how can i do this using ajax.
for example if i select a organisation name say NIIT and select free button , I should get all the free courses that are available in NIIT automatically.How can i do this using ajax?