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);
+ AnswerA
+ Report