mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
fixed the browser refreshing when the encode/decode button is pressed on base64
This commit is contained in:
parent
f1d2010690
commit
9c9216cd8c
@ -2,8 +2,8 @@
|
|||||||
<form>
|
<form>
|
||||||
<label>Input data</label>
|
<label>Input data</label>
|
||||||
<textarea value="" rows="3" id="input" required></textarea>
|
<textarea value="" rows="3" id="input" required></textarea>
|
||||||
<button onclick="doencode();">Encode</button>
|
<button type="button" onclick="doencode();">Encode</button>
|
||||||
<button onclick="dodecode();">Decode</button>
|
<button type="button" onclick="dodecode();">Decode</button>
|
||||||
<label>Output</label>
|
<label>Output</label>
|
||||||
<textarea id="output" disabled></textarea>
|
<textarea id="output" disabled></textarea>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user