Skip to content

Instantly share code, notes, and snippets.

@jchatard
Created September 10, 2019 10:18
Show Gist options
  • Save jchatard/d9306534438383742c3bcf7c5b8b959f to your computer and use it in GitHub Desktop.
Save jchatard/d9306534438383742c3bcf7c5b8b959f to your computer and use it in GitHub Desktop.
// L'internaute vient de valider sa saisie et elle est valide
// Premier paramètre est le message
// Second paramètre est le nom de domaine (* nous permet de gérer tous les environnements, DEV, PREPROD et PROD)
parent.postMessage("submit", "*");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment