I would like the content of a button to change from {entry_id} to {entry_title} when the mouse hovers over said button.
}
button {
width:100%
}
button:hover span {
display:none
}
button:hover:before {
content:'{mapper:entry_title}'
}The Button does change but simply places ‘{mapper:entry_title}’ in the button. Rather than the EE output of that tag.
Any help or tips appreciated.