Sorting by

×

Obituaries at Keith P. Clark & Son Funeral Home


‘; htmlString = htmlString + ”;

var born_date = new Date(obj[i].BORN_DATE);
var died_date = new Date(obj[i].DIED_DATE);
if (obj[i].BORN_DATE.length > 0 && obj[i].DIED_DATE.length > 0){

htmlString = htmlString + ‘

‘ + $.format.date(born_date, “M/d/yyyy”) + ‘ – ‘ + $.format.date(died_date, “M/d/yyyy”) + ‘

‘;
}
else if (obj[i].BORN_DATE.length > 0 && obj[i].DIED_DATE.length == 0){
htmlString = htmlString + ‘

Born ‘ + $.format.date(born_date, “M/d/yyyy”) + ‘

‘;
}
else if (obj[i].BORN_DATE.length == 0 && obj[i].DIED_DATE.length > 0){
htmlString = htmlString + ‘

Passed ‘ + $.format.date(died_date, “M/d/yyyy”) + ‘

‘; } htmlString = htmlString + ‘

‘ + obj[i].OBIT_TEXT.substring(0,220) + ‘…

‘; htmlString = htmlString + ”; htmlString = htmlString + ‘

Source