diff --git a/index.js b/index.js new file mode 100644 index 0000000..f6462c7 --- /dev/null +++ b/index.js @@ -0,0 +1,15 @@ +function massage() { + humane.timeout = 5000; + humane("Please wait..."); + humane("Still loading..."); +} + +function submitPressed() { + if (document.forms.f.checkValidity()) { + b = document.getElementById("b"); + b.disabled = true; + massage(); + document.forms.f.submit(); + } +} + diff --git a/index.shtml b/index.shtml index 972af7b..b6e5e3a 100644 --- a/index.shtml +++ b/index.shtml @@ -6,16 +6,7 @@ - +