COMMUNITY: How to properly ask a question on Forums
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Mahesh Bodepudi
1.5k
90
12.8k
How to generate popup window and send the value in mvc
Aug 24 2017 5:22 AM
Hi,
In my requiremenet I get some values from JsonResult and get that in script.Now I have to show those values in a popup window each with a radio button,when user selects a particular radio button the particular text will be selected to a textbox then I need to send it to database.
I took a div and i am enabling this and not able to show the values,Please help me on this
here is my code
$("#divPartNums").show();
for (var len = 0; len < result.PartNo.length; len++) {
var markup = "<tr><td><input type='radio'></td><td>" + result.PartNo[len] + "</td></tr>";
$("tblPartNums tbody").append(markup);
}
$("divPartNums").append(tblPartNums);
$("#divPartNums").dialog({
height: 200,
width: 350,
modal: true,
});
}
$.ajax(options);
Reply
Answers (
3
)
Testing regular expression with single quotes giving error
How stop popup after showing error message on press enter
"