jquery doesn't work without alert ()
- by Alexander Corotchi
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 !!!!!!!!