Call this method to set the onkeydown attribute
HTMLElement Class | com.plumtree.xpshared.htmlelements Namespace