Add calc by press enter.

This commit is contained in:
Slava Bacherikov committed 2012-01-20 02:48:48 +02:00
1 parent 6b06a49e8e
commit c9978a20b1
3 files changed
+92 -2

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@
<div id="control_id" >
<h2>Type your code</h2><br/>
<form name="pwgen" id="form_id">
<input placeholder="Code" type="text" name="serial" id="serial_id" />
<input placeholder="Code" type="text" name="serial" id="serial_id" onkeypress="enterPress(event);" />
<br/><br/>
<input type="button" class="btn primary" name="serial" id="button_id" value="Compute" onclick="calcPass()" />
</form>