I'm trying to emulate his:
"someArray" => array:3 [▼
    0 => "3"
    1 => "17"
    2 => "21"
  ]
But I'm getting:
  "myArray" => array:1 [▼
    0 => "3,17,21"
  ]
I'm doing:
var optionsChecked = [];
optionsChecked.push($(this).val());
console.log(optionsChecked);
I need to get what I write first
 
    