| Author |
Array
|
Anand Loni
Ranch Hand
Joined: Jan 20, 2006
Posts: 150
|
|
Hi, I have php array like this Array ( [0] => stdClass Object ( [Name] => abc [Filter] => any ) [1] => stdClass Object ( [Name] => xyz [Filter] => clean ) ) I have assigned this array to javascript object . Now I want to iterate through javascript array. I want to retrieve value of Filter from the array by comparing name with some value. I dont know how to iterate over such array. Please help. Thanks
|
~ Anand,
SCJP 1.5
SCWCD 1.5
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
I cannot tell from your example what the structure of the array is. Could you do better?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Array
|
|
|