我在点击checkbox后在MVC3的JavaScript中使用window.location.href的JavaScript,我有多个CheckBox,我在selectedValues中接受所有选中的复选框值Get value of selected items
$("[id*=CheckBoxList1
for (int i = 0; i < CheckBoxList3.Items.Count + 1; i++) if (CheckBoxList3.Items[i].Selected || CheckBoxList4.Items[i].Selected || CheckBoxList5.Items[i].Selected){
str1 += CheckBoxList3.Items[i].Text.To