jquery Programming Glossary: s1.value
How to populate a cascading Dropdown with JQuery http://stackoverflow.com/questions/18351921/how-to-populate-a-cascading-dropdown-with-jquery s1 var s2 document.getElementById s2 s2.innerHTML if s1.value Germany var optionArray magdeburg Magdeburg duesseldorf Duesseldorf.. Leinfelden Echterdingen eschborn Eschborn else if s1.value Hungary var optionArray pecs Pecs budapest Budapest debrecen.. pecs Pecs budapest Budapest debrecen Debrecen else if s1.value Russia var optionArray st. petersburg St. Petersburg else if..
How to populate a cascading Dropdown with JQuery http://stackoverflow.com/questions/18351921/how-to-populate-a-cascading-dropdown-with-jquery like this function populate s1 s2 var s1 document.getElementById s1 var s2 document.getElementById s2 s2.innerHTML if s1.value Germany var optionArray magdeburg Magdeburg duesseldorf Duesseldorf leinfelden echterdingen Leinfelden Echterdingen eschborn.. magdeburg Magdeburg duesseldorf Duesseldorf leinfelden echterdingen Leinfelden Echterdingen eschborn Eschborn else if s1.value Hungary var optionArray pecs Pecs budapest Budapest debrecen Debrecen else if s1.value Russia var optionArray st. petersburg.. eschborn Eschborn else if s1.value Hungary var optionArray pecs Pecs budapest Budapest debrecen Debrecen else if s1.value Russia var optionArray st. petersburg St. Petersburg else if s1.value South Africa var optionArray midrand Midrand else..
|