jquery doesn't work without alert ()

Posted by Alexander Corotchi on Stack Overflow See other posts from Stack Overflow or by Alexander Corotchi
Published on 2010-03-19T20:35:17Z Indexed on 2010/03/19 20:41 UTC
Read the original article Hit count: 213

Filed under:
|
|

This is my jQuery:

    $(document).ready(function(){

    $('#mycarousel').jflickrfeed({
        limit: 14,
        qstrings: {
            id: '26339121@N07'
        },
        itemTemplate: '<li><a href="{{image_b}}"><img src="{{image_m}}" alt="{{title}}" width="155" /></a></li>'
    });

    alert("msg");

    $('#mycarousel').jcarousel({
        auto: 3,
        scroll: 1,
        wrap: 'last',
        animation: 800,
        initCallback: mycarousel_initCallback
    });

});

But if I remove "alert("msg");" this code doesn't work properly ... Somebody can help me with this issue ?

Thanks !!!!!!!!

© Stack Overflow or respective owner

Related posts about alert

Related posts about AJAX