How to fix error: Object doesn't support this property or method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Drummond

    How to fix error: Object doesn't support this property or method

    Hi guys, I've ran into a problem with IE and Javascript (Prototype framework to be specific). I'm developing a custom module to sit in a vle (Blackboard). Blackboard uses Prototype and Scriptaculous, so the module has been developed using the framework and module. The following line has been giving me grief.

    Code:
    this.carouselViewport = this.ArtGalleryelCarousel.down('.' + this.options.containerViewportClass);
    I have tried changing the names of the variables just in case it is causing a conflict with another part of the script elsewhere but to no avail.

    Any help on this matter would be greatly appreciated. Thanks.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Can you find out which part of the line it might be (by splitting over a number of lines, or debugging).

    What does "this" refer to? Perhaps a link may help.

    Comment

    Working...