Skip to content

Commit

Permalink
Ajouter un commentaire
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacques Berger committed Feb 7, 2022
1 parent 7af6ecb commit 74d9cd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Flask/ajax/static/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

// Lancée lorsque le champ de pays change. Met à jour la liste des provinces.
// Exemple avec xhr.
function onPaysChange() {
var champProvince = document.getElementById("champ-province");

Expand Down Expand Up @@ -44,6 +45,7 @@ function onPaysChange() {
}

// Lancée lorsque la province change. Met la liste des villes à jour.
// Exemple avec fetch.
function onProvinceChange() {
let champVille = document.getElementById("champ-ville");

Expand Down

0 comments on commit 74d9cd9

Please sign in to comment.