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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -