$.ajax({
type: "POST",
url: url,
DataType: "json",
UpdateTargetId: "tbldata",
data: { postcode: postcode },
success: function (data) {
debugger;
$('#tbldata').add(data);
$('#divtabledata').show();
From the data. how to bind it is in VIEW(ASP.Net MVC 4)
Guest UserPosted Apr 12, 2013, 7:21 AM
$.ajax({
type: "POST",
url: url,
DataType: "json",
UpdateTargetId: "tbldata",
data: { postcode: postcode },
success: function (data) {
debugger;
$('#tbldata').add(data);
$('#divtabledata').appendTO(data);
Append the data into View.
View is call the Jquery.
Controller will the Json.
JsonResult return the result to bind it to div. Thanks