Answers

Question and Answer:

  Home  Ext JS

⟩ Explain how to access Dom element using EXTJS?

The Element API is fundamental to the entire Ext library.

Using traditional Javascript, selecting a DOM node by ID is done like this:

var myDiv = document.getElementById('myDiv');

Using Extjs:

Ext.onReady(function() {

var myDiv = Ext.get('myDiv');

});

 186 views

More Questions for you: