I send a request to the server as follows
$.ajax({ type: "POST", url: "/words", data:{ ..., 'translations':$('#select-translation').val() }, ... }); The translations field is an array (at least the server is expecting an array). $('#select-translation').val() returns an array ( ["1571", "1895"] ) but when sent, the parameter name changes to translations[] and naturally does not reach. Actually the question is: how to send an array correctly?
'translations':$('#select-translation').val().join(",")- Igor