Ho risolto così:
e inserendo ad esempio, nel form: onkeypress="isKeyPressed(event)"Codice PHP:
function isKeyPressed(event) {
if(event.keyCode == 13) {
if(event.shiftKey == 1) {
//new line
} else {
shoutIt(); //send
}
}
}
Grazie comunque per i consigli!!!
SI PUO' CHIUDERE![]()