Geovane Krüger Geovane Krüger - 1 year ago 109
Javascript Question

How to remove "" Object / array using jquery

I have the following result of an ajax request

["[1449270000000, 21]", "[1449356400000, 41]", "[1449442800000, 60]",...

I would like to know how to remove "" using jQuery. I've tried several things and I could not.

Answer Source

What you can try is make a loop on the different element of your ajax reply with .each and for each of them test a JSON.parse(yourstring) it will give you an array for each string.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download