Tags

,

Just follow the idea of JQuery for Everyone: Expand/Collapse All Groups. I have deployed on a few SharePoint Pages by control id. Just use IE Dev Tool to get control id and replace
$("td.ms-toolbar[width='99%']").append(expandAll).append(collapseAll);
to
$("#ctl00_m_g_2e4a2a42_7e54_4a6e_ba80_923f50d3f0d5_Message").append(expandAll).append(collapseAll);

Advertisements