Skip to content

Commit

Permalink
Update index.htmlaklbh
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTyphoon1 committed Oct 16, 2023
1 parent 7fd4d54 commit 08d0d09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,15 @@ <h3> <h3>
}
}

function refreshPage() {
function refreshPageAndSaveOption() {
rememberSelection();
location.reload();
}
</script>
</head>

<body onload="setSelection()">
<form action="javascript:void(0);" method="post" onsubmit="rememberSelection(); refreshPage();">
<form action="javascript:void(0);" method="post" onsubmit="refreshPageAndSaveOption();">
<label for="options">Select a language to view the webpage in:</label>
<select id="options" name="options">
<option value="option1">English</option>
Expand Down

0 comments on commit 08d0d09

Please sign in to comment.