[CLOSED] Click event on DIV HTML

  1. #1

    [CLOSED] Click event on DIV HTML

    Hello everyone,

    I've applied an click event on render of a panel:

    <Listeners>
           <Render Handler="this.body.on('click', function() { showPanel(#{panel1}, #{panel2}.title); } );" />
    </Listeners>
    I would like to do the same thing for a HTML DIV, is it possible??

    Thanks!
    JW
    Last edited by Daniil; Apr 30, 2013 at 4:04 AM. Reason: [CLOSED]
  2. #2
    Hi John,

    Please use:
    Ext.fly("divId").on("click", function () { alert("Clicked the div"); })

Similar Threads

  1. [CLOSED] HTML edito text change and focus event.
    By RCM in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 20, 2012, 5:02 PM
  2. Replies: 1
    Last Post: May 21, 2012, 8:36 AM
  3. [CLOSED] Blur event for HTML Editor
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 03, 2011, 1:40 PM
  4. Change Event then Click event : issue
    By jeybonnet in forum 1.x Help
    Replies: 2
    Last Post: May 28, 2010, 1:19 PM
  5. [CLOSED] html js event
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 22, 2009, 8:25 AM

Posting Permissions