J
jh3an
How are you ?
This code works on Internet Explorer:
function(event){
event.keyCode = 'a';
}
So, No matter what you typed in the textbox or textarea, you would get
'a'.
However, above the code does not work on Firefox or Safari.(even
though I use event.charCode instead of event.keyCode).
Please give me your advice !
This code works on Internet Explorer:
function(event){
event.keyCode = 'a';
}
So, No matter what you typed in the textbox or textarea, you would get
'a'.
However, above the code does not work on Firefox or Safari.(even
though I use event.charCode instead of event.keyCode).
Please give me your advice !