sorry I can't write english well..

I make editor like google doc.

google doc posibble ctrl+s..

but I can't..

I will try javascript.. but it's not work..


<SCRIPT LANGUAGE="JavaScript">
function processKey()
{
        if( (( event.ctrlKey == true || event.altKey == true ) &&
(event.keyCode == 78 || event.keyCode == 82)) ||
        (event.keyCode >= 65 && event.keyCode <= 90) || event.keyCode
== 8)
            {
        event.keyCode = 0;
        event.cancelBubble = true;
        event.returnValue = false;

            }
}

document.onkeydown = processKey;
</script>


I don't know how to..

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to