javascript - How to show only particular number of data and hide remaining with more link -
i want show notes of user on page want show first 200 characters , after there link of more navigate user on page. completed more link part don't know how show 200 characters , hide remaining link.
extract first 200 characters text , display in div
var smallcontent = divcontent.substr(0, 200) + "..";
Comments
Post a Comment