javascript - How to populate a dropdown list based on values of the another list? -
i want implement search box same this, @ first, first dropdown list active once user selects option first dropbox, second dropdown box activated , list populated.
<s:select id="country" name="country" label="country" list="%{country} onchange="findcities(this.value)"/> <s:select id="city" name="city" label="location" list=""/>
jquery chained plugin serve purpose,
https://plugins.jquery.com/chained/
usage link - http://www.appelsiini.net/projects/chained
this plugin chain textboxes.
Comments
Post a Comment