hope this fix your issue I'm not sure if their is a Jquery way to enable copy on the button or if there are any CSS hacks that will enable copy also. Anyway, this method makes the button width small. The headers are above the collapsible, and that should be ok even if the collapsible s are dynamic. Some other css to move everything a bit so they align ok. It can be improved a bit, but as you can see its certainly doable.
How can I add text to each top corner of a jQuery mobile collapsible
By : Sunu A
Date : March 29 2020, 07:55 AM
I hope this helps . I would like to know how I could insert some text to the top right and top left side of a jQuery mobile collapsible. I don't know how to do that but I have done this so far and the text inside the < p >text at left corner < /p > tag doesn't even show up in the collapsible. , You can use the built-in JQM grid as an option
<div class="ui-block-a floatleft"><strong>I'm Block A</strong> and text inside will wrap</div>
<div class="ui-block-b floatright"><strong>I'm Block B</strong> and text inside will wrap</div>
</div><!-- /grid-a -->