yes, agree that I should have figured this out from the doc, but no - I could not :-(
<div id="jalla">
<span>
<span class="ui-btn-text">
I need this text
<span class="ui-collapsible-heading-status">
click to collapse contents
</span>
</span>
<span>
</div>
How to simply select (and update) the text "I need this text". This is one of the things I've tried:
notWorking = $('.ui-btn-text').text();