
10.04.2008, 12:03
|
|
Постоянный
Регистрация: 30.08.2007
Сообщений: 773
Провел на форуме: 3069349
Репутация:
808
|
|
Ctrl + Enter
Код:
<html>
<head>
<script type="text/javascript">
function process(node, e)
{
if(e.ctrlKey && e.keyCode == 13) node.submit();
};
</script>
</head>
<body>
<form onkeypress="process(this, event);">
<textarea></textarea>
<input type="text">
</form>
</body>
</html>
|
|
|