I have a div area that has an arbitrary number of characters. I want to limit the amount of characters that show up in there to 175 characters. I mostly found exaple on how
You can use the the form of text() that takes a function and write something like:
$("div.some-area").text(function(index, currentText) { return currentText.substr(0, 175); });