Issue in table body append
Issue in table body append
KumarMahitsurya
Posts: 1Questions: 0Answers: 0
Hi ,
I am new to the jquery tables, as per my client requirement, we are extracting the data from different URL by using the ajax logic. after successful execution of the ajax. data is successfully coming from the URL. Now the main problem is data append to the table body.
Please find my code below.
function Data(data) {
alert("hello");
alert(data[0].Name);
}
$(document).ready(function(){
$.ajax({
type: "GET",
url: "staff_search.htm",
dataType: "jsonp",
jsonpCallback:"Data"
});
});
Please suggest me how to append the data dynamically to the table body.
Thanks in advance!
Kirankumar
I am new to the jquery tables, as per my client requirement, we are extracting the data from different URL by using the ajax logic. after successful execution of the ajax. data is successfully coming from the URL. Now the main problem is data append to the table body.
Please find my code below.
function Data(data) {
alert("hello");
alert(data[0].Name);
}
$(document).ready(function(){
$.ajax({
type: "GET",
url: "staff_search.htm",
dataType: "jsonp",
jsonpCallback:"Data"
});
});
Please suggest me how to append the data dynamically to the table body.
Thanks in advance!
Kirankumar
This discussion has been closed.