Ext-JS Question:

Explain what is syntax for Extjs Button click event?

Tweet Share WhatsApp

Answer:

Ext.onReady(function() {
Ext.get('myButton').on('click', function(){
alert("You clicked the button");
});
});

Download Ext JS PDF Read All 65 Ext JS Questions
Previous QuestionNext Question
Tell me what is the purpose of Element Object in Extjs?Explain what is use of Ext.onReady() function?