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

  1. johnbhartley
    Posted 2 years 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)
    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.


  2. Miguel Useche
    Plugin Author

    Posted 2 years 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

  • jQuery Archive List Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.