Load simple XML file using javascript and compare value

Nard120

New Member
I have the following task to do:Step 1: Load a simple xml file which looks like this:\[code\]<StockNo> <item id="437"/> <item id="286"/></StockNo>\[/code\]Step 2: I have StockNo in a variable and I want to check to see if this StockNo is in the XML file list. If it does then it would give a response something like yes or no.I hope this makes sense. I can provide more detail.
 
Back
Top