I\'d like to have a button that opens the closest details element (above button) without using ID. I\'ve tried variations of the following code and search every thread but can\'