I've been thinking of making buttons to collapse sections of a resume I've put on a site online. I'm wondering if there's an accepted practice for making a section collapsible, or if I should just set the value of the divs to empty, and upon click, call a function that will fill the divs.
Would this be the best method, or are there better/more elegant methods?