1. Escuche el evento TextAREA OnKeydown
La copia del código es la siguiente:
<TextARea tabindex = "1" name = "contenthf.contenthf" onkeydown = "keySend (evento);"> </textarea>
2, envíe el formulario y vuelva a cargar la ventana del abridor (ver 4,)
function sbFrm () {var contentHf = document.getElementById ("contentHf"); var txTar = contentHf.getElementsByTagName ("textARea") [0]; if (txtar.innerhtml == "") {txtar.focus (); return foals;} contenthf.subMit (); window.opeer FALSO;}3. Cuando se presiona la tecla CTRL y el código de teclas es 13 (Enter), se llama a la función que envía el formulario.
Función KeySend (Event) {if (event.ctrlkey && event.keycode == 13) {sbfrm ();}}4. Si la página actual se abre por Window.open (), agregue una función de recarga a esta página de Window.open
función afterReload () {setTimeOut (function () {window.location.reload ();}, 1000);}