summaryrefslogtreecommitdiff
path: root/regexvis.html
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2010-05-23 04:29:05 +0200
committerPatrick Simianer <p@simianer.de>2010-05-23 04:29:05 +0200
commit3d9e4d9737fdb534b07638ff5d47b0e74922fe7b (patch)
tree03ffdab43f93be5fcc20d983cef10e4c4c015b1e /regexvis.html
parent2ca46da6f7995cf6d8e79f72ccb51a5919b47328 (diff)
implemented labels, arrow heads and began animation; things a little slower now
Diffstat (limited to 'regexvis.html')
-rw-r--r--regexvis.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexvis.html b/regexvis.html
index a881d82..a99b991 100644
--- a/regexvis.html
+++ b/regexvis.html
@@ -55,7 +55,7 @@
<tr>
<td style='text-align:right'><strong>Regular Expression:</strong></td>
<td><input type="text" name="regex" id="regex" value=""
- onchange='checkLength(this, "#parseButton")'
+ onchange='checkLength(this, "#parseButton")' onkeypress="return getKey(event, ALPHABETS)"
onmouseout='checkLength(this, "#parseButton")' autocomplete="off" />
<input type="button" name="parseButton" id="parseButton"
value="Parse" disabled='disabled' autocomplete="off" onclick="uiParse()" />
@@ -64,7 +64,7 @@
<tr>
<td style='text-align:right'><strong>Word:</strong></td>
<td><input type="text" name="word" id="word" value="" disabled='disabled'
- onchange='checkLength(this, "#checkButton")'
+ onchange='checkLength(this, "#checkButton")' onkeypress="return getKey(event, ALPHABET)"
onmouseout='checkLength(this, "#checkButton")' autocomplete="off" />
<input type="button" name="checkButton" id="checkButton"
value="Check" disabled='disabled' autocomplete="off" onclick="uiSimulate()" />