luis-almeida / filtrify

Beautiful advanced tag filtering with HTML5 and jQuery
Other
644 stars 112 forks source link

TypeError: $(...).on is not a function #50

Open DAREAS opened 10 years ago

DAREAS commented 10 years ago

Dear friends.

when I try to create the call filtrify, happens the following error (TypeError: $(...).on is not a function - filtrify.js LN: 162). Can you help me? grateful.

My Code:

$(function() {

        $.filtrify("container", "placeHolder");

    });

Thanks.

elenika commented 10 years ago

It looks like the jquery is not loading. Make sure you have jquery loading before filtrify. Like this:

script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" script src="[path to your folder]/filtrify.min.js" (I had to remove script tags or it was parsing them, make sure to use proper syntax.)

DAREAS commented 10 years ago

Dear elenika.

Thanks for your help.

Now my application is runnig.