@model CrudPopupJquery.Models.EmployeeViewModel
@{
Layout = null;
}
| EmpId | EmpName | EmailId | PhoneNo | Action(Edit) | Action(Delete) |
|---|---|---|---|---|---|
$("#LoadingStatus").html("Loading...");
$.get("Home/GetStudentList", null, DataBind);
$.noConflict();
function DataBind(StudentList)
{
alert('hi');
var SetData = ("#SetStudentList");
for (var i = 0; i < StudentList.length; i++)
{
var Data = ""+
"" + StudentList[i].EmpId + " "+
"" + StudentList[i].EmpName + " "+
"" + StudentList[i].EmailId + " "+
"" + StudentList[i].PhoneNo + " "+
"";
//setData.append(Data);
SetData.apeend(Data);
$("#LoadingStatus").html(" ");
}
}
4 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manav PandyaPosted May 4, 2018, 6:07 AM
Bobindra KumarPosted May 4, 2018, 6:03 AM
Bobindra KumarPosted May 4, 2018, 5:24 AM
Manav PandyaPosted May 4, 2018, 5:01 AM