I use jQuery for two DropdownList elements in MVC. But both classes are equally named "chzn-select". When I try to add values there are some conflicts.
Can anybody tell me how to distinguish the "chzn-select" elements?
<tr>
<td>@Html.Label("branch")
</td>
<td>
@Html.DropDownListFor(m => m.RegionId, (SelectList)ViewBag.Regions, new {@class="chzn-select" ,multiple ="true",data_placeholder = "choose branch", style = "Width:200px", onChange = "regionDropDownChanged();" , tabindex = 3 })
@Html.ValidationMessageFor(m => m.RegionId)
</td>
</tr>
<tr>
<td>@Html.Label("organization")
</td>
<td>
@Html.DropDownListFor(m => m.EnterpriseId, (SelectList)ViewBag.Enterprises, new {@class="chzn-select" ,multiple ="true",data_placeholder = "choose organization", style = "Width:200px", tabindex = 3 })
@Html.ValidationMessageFor(m => m.EnterpriseId)
</td>
<td>
</td>
</tr>