Hallo,
in my webpage I have a construct more or less like this:
<xml>
<menuitem class="blabl" id="001" />
<menuitem class="blabl" id="002" />
<menuitem class="blabl" id="003" />
</xml>
The menuitem is not part of the html DOM (I think...), but I was wondering if I can access the menuitem tag by using javascript, and add a property, so that I would have (for example):
<xml>
<menuitem class="blabl" id="001" target="_blank" />
<menuitem class="blabl" id="002" />
<menuitem class="blabl" id="003" />
</xml>
the document.getElementById() doesn't seem to work with those menuitem tags. Do you have a suggestion?
thanks
in my webpage I have a construct more or less like this:
<xml>
<menuitem class="blabl" id="001" />
<menuitem class="blabl" id="002" />
<menuitem class="blabl" id="003" />
</xml>
The menuitem is not part of the html DOM (I think...), but I was wondering if I can access the menuitem tag by using javascript, and add a property, so that I would have (for example):
<xml>
<menuitem class="blabl" id="001" target="_blank" />
<menuitem class="blabl" id="002" />
<menuitem class="blabl" id="003" />
</xml>
the document.getElementById() doesn't seem to work with those menuitem tags. Do you have a suggestion?
thanks