I have simple filtering to be done possibly using javascript. I am new to javascript. I have a vehicle makeList and vehicle modelList coming from the java to my JSP.
<tr><td><form:label path="makeId">Make: </form:label></td>
<td><form:select path="makeId" required="true">
<form:options items="${makeList}" itemValue="makeId" itemLabel="makeName"></form:options>
</form:select>
</td>
<td><form:label path="modelId">Model: </form:label></td>
<td><form:select path="modelId" required="true">
<form:options items="${modelList}" itemValue="modelId" itemLabel="modelName"></form:options>
</form:select>
</td></tr>
All I want to do is onchange of make , show only those model associated with that make and hide rest
Hope someone can get me a simplest solution