1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    17
    Vote Rating
    0
    Tob1as is on a distinguished road

      0  

    Default Stop DOMNodeRemoved Event from firing

    Stop DOMNodeRemoved Event from firing


    Hello everyone,

    I was wondering if anyone knows how to stop a DOMNodeRemoved event from firing.

    In my case, a dom node is updated similar to below:

    Ext.get(id).dom.innerHTML = textfield.ValueInInputBox;

    Unfortunately, changing the innerHTML triggers a DOMNodeRemoved event, which in this special case I would like to avoid.

    Thank you in advance.

    Kind regards,

    Tobi

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,107
    Vote Rating
    453
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    This is the browser firing that event. You can try to stop the event.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.