Template:Lp-layout-default: Difference between revisions
Content deleted Content added
No edit summary |
Disable submitting form with return key |
||
Line 1:
{{DISPLAYTITLE:KeepItFree}}
<html>
<script type="text/javascript">
$( document ).ready( function () {
// Disable submitting form with return key
$( 'form' ).bind( 'keypress', function(e) {
var code = ( e.keyCode ? e.keyCode : e.which );
if ( code == 13 ) return false;
} );
} );
</script>
<style type="text/css">
#pitch {
|