Bonjour,
J'utilise un Datatable du framework Primefaces.
Je voudrais récupérer ce Datatable en JS, mais la fonction 'getElementById' renvoie Null.
Merci pour votre aide car je suis débutant en JS.
Mon code :
Code:alert(document.getElementById("idRefCollectivite"));
Code:
1
2
3
4
5
6 <p:dataTable id="idRefCollectivite" widgetVar="widgetRefCollectivite" var="ligne" tableStyle="table-layout: auto" class="tableauStyle" ...