//Column
//Send ajax request
$ .getJSON(
"../../../Templet/GetInfoHandler.ashx", //Server page that generates JSON data
{id: "0", sid: "1;2;3 ", rid: Math.round(Math.random() * 10) }, //Query string sent to the server
//Process the returned JSON data
function(json) {
//Loop through the data in json and present it in the list
$("#column_0_1").empty();
var colstr = '
More>>Popular Recruitment
';
$.each(json, function(i ) {
//alert(json[i].news_id);
colstr = colstr '- ' json[i].news_title '< /li>';
})
colstr = colstr '
';
$("#column_0_1").html(colstr);
alert("Loading successful") ;
// })
//Column
//Send ajax request
$.getJSON(
"../../../Templet/GetInfoHandler.ashx ", //Server page that generates JSON data
{id: "0", sid: "1;2;3", rid: Math.round(Math.random() * 10) }, //To Query string sent by the server
//Process the returned JSON data
function(json) {
//Loop through the data in json and present it in the list
$("# column_0_1").empty();
var colstr = '
More>>< ;/span>Popular Recruitment
';
$.each(json, function(i) {
//alert(json[i].news_id);
colstr = colstr '- ' json[i].news_title '
';
})
colstr = colstr '
$("#column_0_1").html(colstr);
alert("Loading successful");
// })
Create a new .aspx page, delete the html code in the .aspx page, and add the following code in .aspx.cs