Thanks for the reply, then I think I will try to make two functions toggleSection and toggleSections, where the last have some argument specifying the pattern and call the toggleSection function!
Now another problem emerged! I try this...
Code:
<INPUT CLASS='button' type='button' onClick="alert('something'); simple(); return false;" value='advanced'>
...where the simple function is a function that merely have an alert call!
Only the first alert is called, and no errors has occured. What is wrong with this!!? It seems so simple, but it do not work!
Thanks!
Jacob.
Jacob.