假如路径是这样的:www.domain.com/list/?menu=1 var locationUrl = location.search.substring(6); switch(locationUrl) { case "1": $(".zxdt").click(); break; case "2": $(".xwzx").click(); break; case "3": $(".mtzx&
MVC 接收参数数组(集合) 示例样本: public class Person { public string FirstName { get; set; } public string LastName { get; set; } ... } // ASP.NET MVC [HttpPost] public ActionResult Create(List<Person> persons) { // doSomething. }