I want to filter the period character (.) but I want to allow the use of the DELETE key. However, so far as I can see, they yield the same key code. I am using:
function filterKeys(evt) {
var event=(evt)?evt:window.event;
var thisKeyCode=(event.keyCode)?event.keyCode:event.which;
...
Can anyone show me how to block the period but allow the DELETE key?
Thanks,
JAS
function filterKeys(evt) {
var event=(evt)?evt:window.event;
var thisKeyCode=(event.keyCode)?event.keyCode:event.which;
...
Can anyone show me how to block the period but allow the DELETE key?
Thanks,
JAS