WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Archive List Widget
[resolved] Object has no method 'on' (2 posts)

  1. johnbhartley
    Member
    Posted 1 year ago #

    Couldn't get 2.0 to work so I switched back to 1.4.2, but was getting the Object has no method 'on' referring to line 15 in jal.js.

    Thoughts on why that would be happening? I switched from
    on('click', function(e)
    to
    click( function(e)
    and that fixed it. Again, more of a question of is something else wrong with my site that it would prevent the 'on' method? Any insights are appreciated.

    http://wordpress.org/extend/plugins/jquery-archive-list-widget/

  2. Miguel Useche
    Member
    Plugin Author

    Posted 1 year ago #

    This is one of the FAQ, the problems is that your template or another plugin is removing the official WordPress' jQuery and adding an old one. I've coded with on function because it's the correct way to do it since 1.7 and it guarantees compatibility for future updates.

    The solution is to check (by deactivating) which plugin causes this, usually is EasyFancyBox. And contacting the developer or modifyng the plugin to use wordpress' jquery

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.