-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (52 loc) · 2 KB
/
index.html
File metadata and controls
52 lines (52 loc) · 2 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jsOnclickDisabled</title>
<meta name="description" content="jsOnclickDisabled shows a JavaScript instruction to disable a clicked button">
<meta name="research" content="Project4Dimensions">
<meta name="keywords" content="jsOnclickDisabled JavaScript instruction disable clicked button ">
<meta name="application-name" content="jsOnclickDisabled">
<link rel="stylesheet" href="/assets/css/style.css">
</head>
<body>
<h1><small>Why jsOnclickDisabled?</small></h1>
<p>
jsOnclickDisabled shows a JavaScript instruction to disable a button
after being clicked.
<a href="https://github.com/Project4Dimensions/jsOnclickDisabled">
<pre>https://github.com/Project4Dimensions/jsOnclickDisabled</pre>
</a>
</p>
<hr class="double">
<p>
<input value="Invoke jsOnclickDisabled" onclick="this.disabled=true; this.value='jsOnclickDisabled clicked'; a.innerHTML=aa" type="submit">
</p>
<ol>
<li id="jsOnclickDisabled"></li>
</ol>
<hr>
<h2><small>References</small></h2>
<p>
Marks, Steve. 2010. “Disabling the Submit Button to Prevent Double
Form Submission.”
<em>BIOSTALL</em>. December 21.<br>
<a href="http://biostall.com/disabling-submit-button-to-prevent-double-form-submission/">
http://biostall.com/disabling-submit-button-to-prevent-double-form-submission/
</a>.
</p>
<p>
Zarel. 2009. “Onclick=‘This.Disabled=True;Return True;’ - Technology.”
<em>Zybez RuneScape Community Forums</em>. December 15.<br>
<a href="http://forums.zybez.net/topic/1329090-onclickthisdisabledtruereturn-true/">
http://forums.zybez.net/topic/1329090-onclickthisdisabledtruereturn-true/
</a>.
</p>
<script>
var a = document.getElementById("jsOnclickDisabled");
var aa = "Button disabled after being clicked";
</script>
</body>
</html>