Thursday’s video news and an open line – Arkansas News

Thursday’s video news and an open line – Arkansas News

‘);
} else if (jQuery(this).attr(“id”) == “sortSelect”){
jQuery(“#BlogComments .sortSpinner”).show();
}

var url = “/ArkansasBlog/archives/2017/09/14/thursdays-video-news-and-an-open-line”;
var myStart = jQuery(this).attr(“id”) == “sortSelect” ? “1” : jQuery(this).attr(“rel”);
var showAllComments = jQuery(this).attr(“id”) == “showAllComments” ? “yes” : “no”;
if (!myStart) var myStart = “1”;
var mySort = jQuery(“#sortSelect”).val() || “asc”;
var params = {
sort: mySort,
ajaxComponent: componentId,
startIndex: myStart,
showAll: showAllComments
};
jQuery.ajax({
url: url,
data: (params),
success: function (data) {
jQuery(“#”+componentId+”_PaginationBottom”).remove();
jQuery(“#”+componentId+”_commentContent .brandNewComment”).remove();
jQuery(“#BlogComments .sortSpinner”).hide();
if (myStart == “1”) jQuery(“#”+componentId+”_commentContent”).html(data);
else jQuery(“#”+componentId+”_commentContent”).append(data);
}
});
};

function removeEdit(oid){
if (oid){
var cont = jQuery(“#BlogComments-comment-“+oid).closest(“.brandNewComment”);
cont.find(“.newCommentOptions”).fadeOut(“fast”, function(){
jQuery(this).remove();
});
}
}

function getComment(oid, commentLimit){
var url = “/ArkansasBlog/archives/2017/09/14/thursdays-video-news-and-an-open-line”;

click here to read more.

Share this post

Post Comment