HI i have a function that filters my xml data for selectsinglenode but i need to return all of the items.
i have found the selectNodes option but i am unsure how to use it could you please help my function is below
thanks
function filterUsingDOM()
{
var qs = "'";
Counties.XMLDocument.documentElement = Counties.XMLDocument.selectSingleNode("//State[@name="+ qs + Description.value.toUpperCase() + qs + "]");
Counties.XMLDocument.loadXML(Counties.XMLDocument.xml);
table1.dataSrc = "#Counties";
tblHeader.innerHTML = "<b>filtered</b>";
btnDOM.disabled=true;
}
i have found the selectNodes option but i am unsure how to use it could you please help my function is below
thanks
function filterUsingDOM()
{
var qs = "'";
Counties.XMLDocument.documentElement = Counties.XMLDocument.selectSingleNode("//State[@name="+ qs + Description.value.toUpperCase() + qs + "]");
Counties.XMLDocument.loadXML(Counties.XMLDocument.xml);
table1.dataSrc = "#Counties";
tblHeader.innerHTML = "<b>filtered</b>";
btnDOM.disabled=true;
}