paramasivan Posted November 30, 2006 Share Posted November 30, 2006 Can use 'ENTER' key as 'access key'. Link to comment Share on other sites More sharing options...
vchris Posted November 30, 2006 Share Posted November 30, 2006 This attribute assigns an access key to an element. An access key is a single character from the document character set. http://www.cs.tut.fi/~jkorpela/forms/accesskey.html Link to comment Share on other sites More sharing options...
paramasivan Posted November 30, 2006 Author Share Posted November 30, 2006 Hai Chris, This is S.Paramasivan. I'am very glad to meet you online. You mean we can't.Then any way to fire 'onclick' event while pressing enter key.Please....... Link to comment Share on other sites More sharing options...
jesh Posted November 30, 2006 Share Posted November 30, 2006 This is the check for ENTER script I use for one of my pages: document.getElementById("SomeElement").onkeydown = CheckForEnter;function CheckForEnter(e){ var charcode; if(!e) { e = event; } if(e.which) { charcode = e.which; } else { charcode = e.keyCode; } if(charcode == 13) { // ENTER WAS PRESSED...DO SOMETHING }} Link to comment Share on other sites More sharing options...
paramasivan Posted December 3, 2006 Author Share Posted December 3, 2006 THANK YOU JESH.MEET YOU ON NEEDS Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now