<SearchResults>
<error>Search term too small minimum 3 characters</error>
</SearchResults>
How can i grab the contents of <error> and print/store them.
At the moment i am counting them with
$(xml).find("Error").each(function()
{
errorsFound++;
}
For other reasons
Seems to work fine here: http://jsfiddle.net/Xy9t7/1/
Could be that you’re searching for Error instead of error (note the capitalization)