Quantcast
Channel: Jason Lattimer's Groups Activities
Viewing all articles
Browse latest Browse all 869

OnKeyPress event is failed on Chrome browser

$
0
0

Hi,

I have a JScript statment which is working very fine on IE browser but giving error on Chrome browser. Here is the JScript:

document.getElementById("new_customfield").attachEvent("onkeypress", KeyPress);

How does it need to be tackled on Chrome?

The error I am getting is:

I even tried this:

document.getElementById("new_customfield").attachEvent("onkeydown", KeyPress);

But still no luck.


Viewing all articles
Browse latest Browse all 869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>