Hi,
I am using ASP.NET MVC3 using C#.
I want to add a value to Hashset using Jquerry..
here is my code..
Model:
public Hashset selection= new Hashset()
View:
@model.HiddenFor(m=>m.selection)
<script type="text/javascript">
function Checkbox() {
$(
'#checkboxes input:checked').each(function () { switch ($(this).attr("id")) { case "input_check_bundle_mobility":$("#IsMoblitySelected").val('true');
$('#selection').val('mobility added');
break;
case "input_check_bundle_internet":
$('#selection').val('mobility added');
$(
"#IsInternetSelected").val('true'); break;
Replies
Know the answer? Post it — somebody with the same question will find it here.