V9 attachEvent in Jscript
Does anyone know if attachEvent works in V9? I haven't been able to get it to work. I know in 7.6 we would have code like this which would work:
function test{
obj1 = document.getElementById(fieldName);
obj1.attachEvent('onkeydown', testfunction);
obj1.attachEvent('onkeyup', testfunction2);
}
We would call this function on form load and it would attach the handlers to the field. Does anyone know the V9 equivalent?
Tagged:
0
Comments
-
V9 uses Telerik Ajax controls.
In order to get a handle of the control on the client side, use the $find function.
The event for that control can be overriden as shown in the example below
$find("myControlName")._element.onclick =
function () { testfunction(); };
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 156 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories