ExtJS Interview Questions and Answers
Question: For example, to show our message when any paragraph in our test page is clicked, what is the ExtJS code on paragraph click?Answer: Ext.onReady(function() {Ext.select('p').on('click', function() { alert("You clicked a paragraph"); }); }); or Ext.onReady(function() { var paragraphClicked = function() { alert("You clicked a paragraph"); } Ext.select('p').on('click', paragraphClicked); }); |
Is it helpful?
Yes
No
Most helpful rated by users:
- Why did you choose Ext JS?
- Why do we need javascript Library?
- What is syntax for Extjs Button click event?
- How to access DOM element using EXTJS?
- Integration of Web development server-side frameworks with Ext JS?