i have a html button, like below. it will have a attribute
<button class="first-button" data-content='{8C2E25C4-5E4F-484C-97D0-F42305F30E19}'> my content</button>
on click of this button i need to get that attribute and make a attribute selector out of it, for another element with a different class and same attribute
<button class="second-button" data-content='{8C2E25C4-5E4F-484C-97D0-F42305F30E19}'> my content</button>
i tried jquery attribute selector and that didn't work
$('data-content=8C2E25C4-5E4F-484C-97D0-F42305F30E19')
i am open to a JS or jQuery fix