select - How to get dependant dynamic dropdown in jsp servlet without using json -


i trying display value list(select tag(parent)) database, when change select list option 1st (select tag).

i trying in jsp without using json.

like below:

<select name="country" id="parent" onchange="">  <select name="city" id="child"> 

first retrive country , city , make array of cities according country in javascript , based on country can set city names.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -