views:

22

answers:

2

This occurs in IE8, and IE7. I am not coding to support IE6, so that doesn't concern me.

I have this simple line of jQuery code that runs fine on other browsers, but on IE, I get the error..

Object doesn't support this property or method

I have marked the offending line.

    options.button.click(function (e) {
        options.menu.is(':visible') ? lift() : drop(); // works fine.
        e.stopPropogation(); // error occurs here.
    });
+4  A: 

Spelling error?

e.stopPropagation();

Documentation: jQuery API event.stopPropagation()

JasCav
... fml. I cannot ... I'm just ... let's forget this ever happened.
Stacey
@Stacey - ;-) Haha...before you forget, would you mind marking my answer as accepted? Glad I could help you!
JasCav
+1  A: 

try to use 'event' instead of 'e'

event.stopPropogation();
revaxarts