Ext-JS Question:

Download Job Interview Questions and Answers PDF

Explain what is use of Ext.onReady() function?

Ext JS Interview Question
Ext JS Interview Question

Answer:

Ext.onReady is probably the first method that you’ll use on every page. This method is automatically called once the DOM is fully loaded, guaranteeing that any page elements that you may want to reference will be available when the script runs
syntax:
Ext.onReady(function() {
alert(“Congratulations! You have Ext configured correctly!”);
});

Download Ext JS Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what is syntax for Extjs Button click event?Suppose to show our message when any paragraph in our test page is clicked, what is the extjs code on paragraph click?