MooTools is not a function js error

Posted by Adriane on Stack Overflow See other posts from Stack Overflow or by Adriane
Published on 2010-12-27T20:50:58Z Indexed on 2010/12/27 20:54 UTC
Read the original article Hit count: 132

Filed under:
|
|

hello

whatever i append to $('click_filter1') it shows the error ... is not a function (for show(), hide(), toggle())

if i insert an alert, the alert gets executed, so the framework is init ok

the element with the id exists for sure

what can be the problem of this? why iam getting this error?

    $('click_filter1').addEvent('click', function() {
        $('click_filter1').show();
    }.bind(this));

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about dom