BEGESSDULSE
New Member
I have the following XML for example:\[code\]<?xml version="1.0"?> <extraslist> <extra id="0" enabled="1" quantityavailable="2" displayindex="1"> <extraname>Example 1</extraname> <extradesc>Example 1 Description</extradesc> </extra> <extra id="1" enabled="1" displayindex="2"> <extraname>Example 2</extraname> <extradesc>Description 2</extradesc> </extra> </extraslist>\[/code\]And a .find function that finds each extra and displays the result on a web page.\[code\]$(xmlExtras).find('extra').each(function(){});\[/code\]How would I go about writing a function so that if all 'extras' = enabled="0" to do something...