Reputation: 1002
I have simple tag to display text in a rounded box in jquery mobile but when I set the text property of the H tag in jquery the text gets truncated
<div data-role="page" id="question" data-position="fixed" >
<div data-role="content">
<div class="ui-bar-c ui-corner-all ui-shadow" style="padding:1em;">
<h4 id="quest"></h4>
</div>
</div>
</div>
//clearing the question box
$("#quest").empty();
$("#quest").append(questions[0].quest)
How do I prevent this behaivour?
Upvotes: 0
Views: 610
Reputation: 3198
there is a property into css:
.class{
text-overflow:ellipsis;
}
ovveride it to change the style.
Upvotes: 1