Yeah this is a javascript question, but I'm asking it here since I'm sure someone else has run into this.
I have a select box, with multiple options, which can be multiselected. I wrote a little script to select and de-select all, but then I remember I had to name the form element as "name[]" so php will process it as an array.
Javascript really doens't like me referencing a form element that ends in brackets. I've tried escaping them, but that won't work either.
Anyone found a solution for this?