diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/index.html | 5 |
1 files changed, 4 insertions, 1 deletions
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'); + }); </script> </head> <body> <h4>Form Type:</h4> <input type="radio" name="form" value="award" onchange="switchShow('award')" checked>Award</input><br> - <input type="radio" name="form" value="room" onchange="switchShow('room')">Room</input><br> + <input type="radio" name="form" id="roombutton" value="room" onchange="switchShow('room')">Room</input><br> <form action="award.pdf" method="get" id="award" class="submit"> Committee: <input type="text" name="committee"/><br> Country: <input type="text" name="country"/><br> |