I get javascript error in this line
new_data = [a,b,c,d,e];
I had to change it to
new_data = ['a','b','c','d','e'];
you are j capitalized in jQuery on this line
somedata_assoc = JQuery.param({'choices[]': new_data});
should be this (or just a $ transcript)
somedata_assoc = jQuery.param({'choices': new_data});
too, I don’t think you need parentheses, in most cases they will make it harder to retrieve data on the server
source
share