I have a set of JQuery arrays that I need to join into a single array, jsonify and pass to the python script in the back end.
my_jq.js:
var a = ['one','two'];
var b = ['three','four'];
var c = ['five'];
var d = ['six','seven','eight'];
I tried this, but it does not generate an array:
var e = $.merge(a,b,c,d)
var json_array = JSON.stringify(e)
What am I doing wrong?