I can't seem to figure out how to use the $.unique(array) function in JQuery. What I am trying to do is check the XML file to see what the range of home sizes is. The result will go into a list, but if there are duplicate items, I'd like to remove these.
A subset of XML Doc
Code:
<dimensions>
<bed>3</bed>
<bath>2</bath>
<area>1000</area>
</dimensions>
This line loops through XML and builds array "parentOption":
ok... thanks for the reply... it's much clearer when you write big. So what I still need to do, is get duplicate items out of this array. How would I accomplish this?
Bookmarks