I have an associative array here -
var dataset = {
person : [
{userLabels: [Name,Role]},
{tagNames: [lName,role]},
{tableClass: width530},
{colWidths: [50%,50%]}
]
}
I tried accessing the 'userLabels' object using jQuery using various methods but I failed. I think I am doing something wrong with basics. I want the userLabels object to be accessed using jQuery and the result should be an array, so I can perform the jQuery.inArray() operation.