JavaScript mengatur panjang string maks
String.prototype.trimEllip = function (length) {
return this.length > length ? this.substring(0, length) + "..." : this;
}
Friendly Hawk