suppose I have combobox of Countries.. and second combo box of Cities.. ..
when I select Country the Cities get displayed according to it !! My program is running fine..
but when I select country from one combo box the second combo box appears at that time ... I have written code on onchange() event !
my problem is.. two combo box must appear on page..and when I select country from one combo box.. the second combo box should be filled..
so how to overcome this difficulty ?
I have written code in JSP (<select><option></option></select>) and in html I have used div tag to insert combo box at runtime..
I have to write that code in my main html and not in jsp..and want to just insert the data on onchange event !
my another problem is .. when I use document.myform.getElementById("cities").. this code does not work
and documen.getElementById("cities") this works perfectlyy