0
I’m having a doubt and I’ve searched a lot and I still can’t solve.
I have an XML with a tag called <child id='minhatag'/>
.
I need to make javascript to read this tag and be able to return the Child tag ID value so that the value I can put on a button, because my screen will have several buttons that will be displayed according to the values of "Child’s ID’s".
NOTE: Remember that there will be several Children for example:
<child id='child1'/>
<child id='child2'/>
<child id='child3'/>
And XML will be in the same folder structure of the code or will not be an access via URL, at least not at first.
This is along with the HTML? elements is an AJAX result?
– Guilherme Lautert
But what is the value of
child
?– MagicHat
@Guilherme Lautert not the values in CHILD are in a separate file.
– Wesley Brito
@Magichat to Child does not have a value itself I need to have the return of Child ID value.
– Wesley Brito