MVC 3 Pass multiple ints / collection via ajax to controller

Love4Ever

New Member
On my form I have several hidden fields with the same name (RemoveId)\[code\]<input type="hidden" value="http://stackoverflow.com/questions/12793894/1" name="RemoveId" /><input type="hidden" value="http://stackoverflow.com/questions/12793894/2" name="RemoveId" /><input type="hidden" value="http://stackoverflow.com/questions/12793894/3" name="RemoveId" /><input type="hidden" value="http://stackoverflow.com/questions/12793894/4" name="RemoveId" /><input type="hidden" value="http://stackoverflow.com/questions/12793894/5" name="RemoveId" />\[/code\]I would like to pass checked items (int(s)) to a controller via ajax/jsonHow would i do it?thanks
 
Back
Top