I used to have a simple ajax that helped me take all items from one page and paste it all to a single div. Now, I need to make design improvements so items need to be pasted at different areas.
i.e. News title should be placed in News description should be placed in News date should be placed in
How should I change my codes?
function ViewNews(NewsID) {
$.ajax({
type: "GET",
url: "/FLPM/cp/images.cs.asp?Process=ViewNews&NEWSID="+NewsID,
success: function(data) {
$(".newscontent").html(data);
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
$(".newscontent").html('.');
}
});
};