Bootstrap Collapse Examples< View Code Snippets Library
Toggle Show Hide Text on Collapse ButtonAll Bootstrap Versions
The default collapse button does not provide a way to have different text when you click a button to show content. This script will help you change the button text to help the user know to show or hide the content.
Looking for something else?
Suggest or contribute a code snippet to be added to the library.
Other Code Snippet Categories