1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    16
    Answers
    1
    Vote Rating
    0
    janaja is on a distinguished road

      0  

    Default Unanswered: Ext.DomHelper.append Exception

    Unanswered: Ext.DomHelper.append Exception


    Guys,
    I am subclassing a Sencha component ( Ext.Img ) and in one of it's event handlers I am trying to add a child div to the image button

    Inside the event handler:
    Code:
    Ext.DomHelper.append(this.element, {tag:'div',cls:'myCivClass'}, true);
    First event trigger goes well and the div is added.

    When I move to another view and then re-open the view that have my subclassed image :
    I get the following exception:
    Code:
    INVALID_NODE_TYPE_ERR: DOM Range Exception 2
    Has anyone seen this ?

  2. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,137
    Answers
    131
    Vote Rating
    99
    jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice

      0  

    Default


    It could be a webkit/caching or referencing issue. In the past, it has been a problem for other programmers.

    http://stackoverflow.com/questions/770669/invalid-node-type-err-in-jquery-when-doing-multiple-selectors-on-chrome

    http://www.sencha.com/forum/showthre...quot-in-Safari

    This guide on DOM Exceptions really helped me out:
    http://reference.sitepoint.com/javascript/DOMException

    Maybe its missing a reference to an element in the DOM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar