I\'m trying to pass an array in an onchange function but running into errors.
The function is in the head tag as: