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
Ankit Shukla
NA
681
116.9k
Show result using JQUERY in MVC
Nov 5 2015 4:45 AM
Hello;
I have a jquery code for counting correct answers from all questions like this:
$(this).find("QUESTION").each(function(){
var quesText = $(this).find("NAME").text();
var quesType = $(this).attr("TYPE");
var options = new Array();
var correctAnswer = new Array(), correctAnswerCounter = 0;
if(quesType != "SA" || quesType != "SUBJECTIVE" || quesType != "COMPREHENSION@@SA"){
var optCounter = 0;
$(this).find("ANSWER").each(function(){
options[optCounter] = $(this).text();
optCounter++;
if($(this).attr('CORRECT')=='TRUE'){
correctAnswer[correctAnswerCounter] = $(this).attr('VALUE');
correctAnswerCounter++;
}
});
}
Please tell me how to show result on button click event in MVC?
Thank You in Advance!
Reply
Answers (
3
)
Why firefox does not create a file as csv it creates as part
Attribute:data-offset usage