diff --git a/voussoirkitjs/common.js b/voussoirkitjs/common.js index 20b1c90..73f0b98 100644 --- a/voussoirkitjs/common.js +++ b/voussoirkitjs/common.js @@ -389,6 +389,10 @@ function init_enable_on_pageload(element) To create an input element which is disabled at first, and is enabled when the DOM has completed loading, give it the disabled attribute and the class "enable_on_pageload". + + For example: + + */ element.disabled = false; element.classList.remove("enable_on_pageload");