Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi!
    What do you mean? What JQuery doesnt work?

    Getting the same problem. Trying to apply scripts to elements loaded via ajax won’t work for me. For instance, say a div with id ID of #doscript is loaded through the query. Adding something like this to the footer will have no result:

    jQuery( document ).ready(function() {
        jQuery( '#doscript' ).addClass( 'class' );
    });

    have you tried using the callback?

    jQuery.fn.almComplete = function(alm){
       ...your code...
    }
    Plugin Author Darren Cooney

    (@dcooney)

    downFast is right, please use the callback.

    Great, thanks guys should have done more homework before responding.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘jQuery doesnt work on loaded content’ is closed to new replies.