Question:Which of the following lines of JavaScript registers a new class to be used as an extension to a DOM element? 

A 
MyNamespace.MyClass.registerClass('MyNamespace.MyClass ', Sys.UI.Control);
 

B 
MyNamespace.MyClass.registerClass('MyNamespace.MyClass ', null, Sys.IDisposable);
 

C 
MyNamespace.MyClass.registerClass('MyNamespace.MyClass ', null);
 

D 
MyNamespace.MyClass.registerClass('MyNamespace.MyClass ', Sys.UI.Behavior);
 

+ Answer
+ Report
Total Preview: 1325

Copyright © 2024. Powered by Intellect Software Ltd