I am trying to pass the collection values into javascript array/variable.
"var a = new Array();
a=a.concat('"&[UserPermission.Permission]&"');"
Using above syntax we are geting only single and first value. We want all values of collection in a array/variable.
please suggest.