Easy Question - Dynamic Assignment of Text on Collapsible Block Here
I have the following UI. What I need to do - is for each of the collapsible headers ( their names are 'header_week', 'header_month', 'header_quarter' , etc. ) --- I need to change the title on the header to:
Week - (nn) - where 'nn' is the number of data elements that satisfy the data query implied by the UI - date combination. I already have fetched these numbers from a server-side service that I wrote to get these numbers - and, the numbers are stored in localstorage vars.
I know I can address the text in the header by:
Appery('header_week').text(), and assign it the same way - however - when I do that - I loose the icon, and the nice formatting in the header. ( to do this - and the result was aweful looking - I did Appery('header_week').text( Appery('header_week').text.replace('Week', 'Week - (10)') ) - lost the icon, the format was huge, etc.
I assume I need some CSS to do this - can you help with a css suggestion to do this?