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
habib ullah
NA
229
14k
How to convert date into jason
Sep 21 2017 3:43 AM
my code is that how to convert date into jason format
<script>
$(document).ready(function () {
$.getJSON("@Url.Action("index1", "employ")",
function (json)
{
var tr;
//Append each row to html table
for (var i = 0; i < json.length; i++) {
tr = $('<tr/>');
tr.append("<td>" + json[i].emp_id + "</td>");
tr.append("<td>" + json[i].emp_name + "</td>");
tr.append("<td>" + json[i].gender + "</td>");
tr.append("<td>" + json[i].join_date+ "</td>");
tr.append("<td>"+ +" </td>");
$('table').append(tr);
}
});
});
</script>
Attachment:
New_Text_Document.zip
Reply
Answers (
2
)
Interface with member variables with datatype as interface
Uncaught Error: Bootstrap's JavaScript requires jQuery versi