I can not send and read an array via jQuery, could you help me? My submission looks like this:
var tipoAtividade = $('#arrayTipoAtividade:checked').serialize();
The activity type variable is receiving this data:
tipo_atividade%5B%5D=AGUA&tipo_atividade%5B%5D=ALMOCO
How do I read this variable, type when I use a foreach
to read a php array?