let's assume I have controller method like this
public ActionResult GetSelected(int[] ids)
{
//do something
return Json (ids, JsonRequestBehavior.AllowGet)
}
and in view file I have function which creates array named list. How can I pass my array to controller using $.get function?