Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

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:

©2024 WithoutBook