I have an html code as
<div class="container">
<div class="ax" > <p>some text ... </p> </div>
<div class="ax" > <p>some text ... </p> </div>
<div class="ax" > <p>some text ... </p> </div>
<div class="ax" > <p>some text ... </p> </div>
</div>
Now I need to check each specific "p" in the div classed "ax" if it has more than 175 characters, if it does, it need to show "read more" text in the end.
My main problem is that I can't use id's because these divs will be auto generated.
Please help.