Page:: multi_select()

Used where one needs to perform multiple selections of table-rows(tr).

Description

Determine whether to display or hide the multi-selector option.

Retrieve the styling CSS, then either hide or show the multiselect option and finally toggle the multi-selector class.

Update the stylesheet so that a given selection is either hidden or displayed. if hidden the display property of the matching CSS rule is set to none otherwise it's removed.

Use the selection to find the relevant rule. Convert the rule list in the CSS Sheet to an array.

Find the index of the rule matching the selection, use the index to get the rule, then add or remove the display property.