TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ashutosh Chaturvedi
1.6k
99
18.1k
how to add control value to List using jquerry
Dec 25 2013 1:34 PM
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<string> selection= new Hashset<string>()
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"
:
$(
"#IsInternetSelected"
).val(
'true'
);
break
;
</script>
Reply
Answers (
0
)
How to handle two request at a time
how many languages support in .net?