I have the following bootstrap code:
<div class="col-lg-4 col-md-4 col-sm-4" id="collapseTwo">
<h2>What</h2>
<p>Find out what we do</p>
<div id="what" class="collapse">
<p>Text here.</p>
<a class="btn btn-default" data-toggle="collapse" data-parent="#threeW" href="#what" role="button">Read More »</a>
</div>
On click of the button, it will display the text inside "what". I want the button to change from "read more" to "Read Less" when done. Ive found other examples but they dont seem to be with the collapse function and not sure how to implement it.
Any help or pointers in the right direction would be appreciated, thanks.