PHP Classes

File: web/SSO/SAML/resources/script.js

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/SAML/resources/script.js   Download  
File: web/SSO/SAML/resources/script.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 754 bytes
 

Contents

Class file image Download
/** * Set focus to the element with the given id. * * @param id The id of the element which should receive focus. */ function SimpleSAML_focus(id) { element = document.getElementById(id); if(element != null) { element.focus(); } } /** * Show the given DOM element. * * @param id The id of the element which should be shown. */ function SimpleSAML_show(id) { element = document.getElementById(id); if (element == null) { return; } element.style.display = 'block'; } /** * Hide the given DOM element. * * @param id The id of the element which should be hidden. */ function SimpleSAML_hide(id) { element = document.getElementById(id); if (element == null) { return; } element.style.display = 'none'; }