jQuery UI MultiSelect Widget - Optiongroup in Head

jQuery UI MultiSelect Widget - Optiongroup in Head

Hi,

i need to toggle the optiongroups not only in the List.

I need the link in the Head! How i do that? Can somebody give me a hind?