asp.net mvc - Get Value of dropdowns with same name using jquery -
In my asp net MVC application some dropdowns are shown with the same name (say: 5 dropdowns with 5 names)
I want all the selected values of the drop-down to jquery with the same name
How to get it?
You $ ('Select [name = "uniquedropdown"]'). Val ()
as
= $ .map ($ ('select [name = "unicudropod"]), function (e) {returns ('Option: selected', e) .val ();});
or
var value = $ .map ($ (' Select [name = "unicodeproduction"]), function (e) {return $ (e) .val ();});
This is a Add / edit to URL for