How to add html glyph markup to JQuery show/hide function

ne220

New Member
I have a very basic show/hide function that slides a sticky header up and down to reveal more contents. I've managed to get the trigger to change the text to the appropriate wording when the container is opened or closed but Id like to also add an up arrow and down arrow glyph to the appended text as well. How can this be achieved?\[quote\] The output that I'm looking for should look something like this:
 
Back
Top