recuperer l'element precedent javascript code example
Example: comment obtenir l'élément parent javascript
var parent = document.getElementById("myElement").parentElement;
var parent = document.getElementById("myElement").parentElement;