I have a very odd error. Here is the output of a array if i do a console.log(array);
[" TRUE ", " FALSE "]
I want the output to be
["TRUE", "FALSE"]
There should not be any whitespaces between the quotes. I hope you get my point. so the array elements doesnt have spaces actually.
Could anyone pls let me know how to remove the whitespace. If there are whitespaces between the double quotes, i am not able to display the details to checkbox in jqgrid.