PDA

View Full Version : div with 'click' event



Stephan123
27 Jul 2009, 5:30 AM
Hello !

I need a little tip.
I have some 'div'. In this div's is a class.
Now i will have an div with an click - event.
------------------

<div class='myClass'>
BlaBlaBla
</div>

----------------

Ext.select('div.myClass').on('click',function(){
Ext.Msg.alert('DIV',''Klick);
});

---------------------

How can help ?

Greetings

Stephan