How to use jQuery .subscribe()?

24,758

You will need Publish/subscribe plugin.

I stand corrected: you will need Struts2 jQuery Plugin.

Share:
24,758
Diego Ramos
Author by

Diego Ramos

Updated on November 17, 2020

Comments

  • Diego Ramos
    Diego Ramos over 3 years

    I've been trying to use $.subscribe but it doesn't seem to work. I downloaded a WAR project where it does work but when I use this function in my project it doesn't work. Do I have to download an extra plugin?

    Because I couldn't find info about these functions in the jQuery website either, I just found the new $.Callbacks() function. The reason I need to use $.subscribe is so I can use something like onBeforeTopic.

    Thanks in advance.