Salut a tous,
je voudrais savoir si il y a moyen de connaitre la liste de tous les tag contenant un certain attribute.
ex :
un tableau qui contient 10 td dont 3 on comme attribute top="top" (<td top="top" id="dyn">hello</td>)
je voudrais faire quelque chose comme ca :
document.getElementById('dyn').getElementsByTagName('td').getAttribute('top');
Merci d'avance
Partager