I want to display a select box based on a radio button selection. There are 2 radio buttons having the names “New project” and “Previous project”. If the user select a previous project then the combobox will display using JavaScript.
From this combobox the user have to select the id of his/her previous project and based on this project id some data are filled into textboxes and comboboxes using JavaScript or Ajax.
What is the solution?
I suggest you start learning jQuery. Have a look at jQuery for Absolute Beginners Video Series
In this tutorial you will learn quickly and practical how you can easily deal with creating AJAX requests using jQuery.