Relecture du code v1
This commit is contained in:
@@ -1,17 +1,3 @@
|
||||
// document.getElementById("id_mois_concerne").addEventListener("change", function () {
|
||||
// fetch(`/gestion-produit/recuperer-fournisseur-categorie/${this.value}`)
|
||||
// .then(response => response.json())
|
||||
// .then(data => {
|
||||
// champs_fournisseur.innerHTML = "";
|
||||
// data.forEach(fournisseur => {
|
||||
// const option = document.createElement("option");
|
||||
// option.value = fournisseur.id;
|
||||
// option.text = fournisseur.nom_fournisseur;
|
||||
// champs_fournisseur.appendChild(option);
|
||||
// });
|
||||
// })
|
||||
// })
|
||||
|
||||
carnetBordMois = document.querySelector("#carnetBordForm #id_mois_concerne");
|
||||
|
||||
carnetBordMois.addEventListener("change", function () {
|
||||
|
||||
Reference in New Issue
Block a user