I have an accordion on the page which is working fine. Within one of the drop downs, I have a ‘Print Button’ which when clicked will print just the content of the div in that drop down.
This is the code which should make it work, but I’m unsure how to apply the attributes to the button.