-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInvisbleButton.html
53 lines (53 loc) · 1.3 KB
/
InvisbleButton.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head>
<title>Script Updater</title>
</head>
<body>
<form>
<table align="center">
<tr>
<td>Select script file:</td>
<td>
<input type="file" id="scriptFileUpload" required />
<span id="scriptFileUploadValidator" style="display:none">Please select a script file.</span>
</td>
<td>
<input type="button" id="browseButton" value="Browse" />
</td>
</tr>
</table>
<br />
<table align="center">
<tr>
<td colspan="2" align="center">
<input type="button" id="convertButton" value="Convert" />
</td>
</tr>
</table>
</form>
<br />
<table align="center">
<tr>
<td><input type="checkbox" id="defaultCheckbox"> Do you want to add default web_reg_find which will verify the HTTP-200 code for all request?</td>
</tr>
</table>
<br />
<table align="center" id="actionButton" style="display:none">
<tr>
<td colspan="2" align="center">
<input type="button" id="triggerActionButton" value="Trigger Action" />
</td>
</tr>
</table>
<script>
document.getElementById("defaultCheckbox").addEventListener("change", function(){
if(this.checked){
document.getElementById("actionButton").style.display = "block";
} else {
document.getElementById("actionButton").style.display = "none";
}
});
</script>
</body>
</html>