Answer the question
In order to leave comments, you need to log in
How to search for words in XML using javascript?
Text is entered in the input field. How to do a keyup search in XML, and display the elements in which the words entered in the input were found? Some keyword search from XML
<item>
<name>First item</name>
<id>1</id>
<keywords>this, item, red, color</keywords>
</item>
<item>
<name>Second item</name>
<id>2</id>
<keywords>javascript, html, xml</keywords>
</item>
<item>
<name>Third item</name>
<id>3</id>
<keywords>toster, ru</keywords>
</item>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question