Ext-JS Question:
Explain what is syntax for Extjs Button click event?
Answer:
Ext.onReady(function() {
Ext.get('myButton').on('click', function(){
alert("You clicked the button");
});
});
Ext.get('myButton').on('click', function(){
alert("You clicked the button");
});
});
Previous Question | Next Question |
Tell me what is the purpose of Element Object in Extjs? | Explain what is use of Ext.onReady() function? |