diff --git a/frontends/ycdl_flask/static/js/common.js b/frontends/ycdl_flask/static/js/common.js index 20b1c90..73f0b98 100644 --- a/frontends/ycdl_flask/static/js/common.js +++ b/frontends/ycdl_flask/static/js/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");