Posted: February 11, 2012 in Random Posts

Java Tutorials

var isNS4 = (navigator.appName==”Netscape”)?1:0;
function checkCharacter(event){
if(!isNS4){
if(event.keyCode == 8 || event.keyCode == 0 ) return true;
if(event.keyCode < 46 || event.keyCode > 57 ) {
event.returnValue = false;
}
}
else{
if(event.which == 8 || event.which == 0 ) return true;
if(event.which < 46 || event.which > 57 ) {
return false;
}
}
}

View original post

Advertisements
Comments
  1. Linda Lanman says:

    Super-Duper site! I am loving it!! Will come back again. I am bookmarking your feeds also

  2. website optimization says:

    Outstanding post, I think people should larn a lot from this website its really user genial. So much fantastic info on here :D.

  3. blackjack games says:

    Keep up the wonderful work, I read few articles on this website and I conceive that your weblog is real interesting and has got bands of great info.

  4. green construction building madison says:

    Grammer such as your’s has little place on the internets. I’m a funny guy!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s