I have a JavaScript array as below which I need to filter to get the correct child values from the test data below.
var arrChildOptions2 = [ {Parent:\'o
You might have more luck using the jQuery.grep() function rather than messing around with loops.
This function "Finds the elements of an array which satisfy a filter function. The original array is not affected".