I have an array like:
myarray['field1'] = "content of field1";
myarray['field2'] = "content of field2";
if I do console.log(myarray) I get:
myarray = [ field1 : "content of field1", field2 : "content of field2" ]
so I would transform to JSON so I tried to JSON.stringify(myarray) but it didn't worked... what I could have missed?
Thanks in advance! Cheers Luigi