From b0b0d5b8c89df795a7b780265a5c1ed32a7e7359 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 16 May 2020 18:15:51 -0400 Subject: javascript radio button selection persists between reloads --- www/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'www/index.html') diff --git a/www/index.html b/www/index.html index 148cb59..3fbcaf8 100644 --- a/www/index.html +++ b/www/index.html @@ -9,13 +9,16 @@ document.getElementById(id).style.display = ''; curform = id; } + window.addEventListener('load',function(){ + if (document.getElementById('roombutton').checked) switchShow('room'); + });

Form Type:

Award
- Room
+ Room
Committee:
Country:
-- cgit