onKeyPress() function is want you want, then by checking the character code passed in you can do your processing. Look up keyboard filtering + javascript on google or look for javascript bible by danny goodman
Peter wrote:
Hi all. this is a issue related with java script .sorry for a off topic question is it possible to disable cntrl key plus key bord keys option ie i want the users not to Print my page using ctrl+p or else create new page ctrl + n
menu and right click i have disable thru java script. ctrl key i dont have any code do advice me pls.
Regards Peter
========================================================================= To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
