IAM21 instance, do not create collab nor modify a team, your changes will be lost


Context Search

Version 2.2 by bougault on 2022/10/11 12:17


  window.addEventListener('DOMContentLoaded', function() {
    const contextSearchType = document.getElementById("context-search-type");
    const contextSearchText = document.getElementById("context-search-text");
    const contextSearchResponse = document.getElementById("context-search-response");
    const contextSearchButton = document.getElementById("context-search-button");
    contextSearchButton.addEventListener('click', function() {
      const context = contextSearchType.options[contextSearchType.selectedIndex].value;
      console.log(context);
    });
  });