//sample format of data = [0:"status_info", 1:"reply_id", 2:"prior_node", 3:"html_content", 4:"org_content", 5:"user_id", 6:"user_name", 7:"created_at" ]
nodesToDeleteArr.push(reply_id);// adding current node's _id
vardeleteConfirm;
if(nodesToDeleteArr.length>1)
{
deleteConfirm=confirm("Along with this reply, total of: "+nodesToDeleteArr.length+" replies would get deleted.\nClick 'OK' to delete. Else click on 'Cancel'");
}
else
{
deleteConfirm=confirm("Are you sure to delete this reply ?\nClick 'OK' to delete.");