Can you provide more details. I'm not quite following.
I got this vector class from some website for implementation of vector in java script
Now I have written this code .This code is written using API's
-
function getOptions(ctx)
-
{
-
var options="";
-
-
var subroles = ctx.getAdminRole().getAttributeMultiValue("CUSTOM10");
-
-
var v = new Vector(subroles);
-
-
options = v.getElementAt(0);
-
-
}
-
-
Now suppose the function getAttributeMultivalue is returning RoleA,RoleB
Now i want RoleA to be stored in getElementAt(0) and RoleB in getElementAt(1)
But with the above code i am getting RoleA,RoleB in getElementAt(0)