Saturday, 28 September 2013

Jquery .one complet callback

Jquery .one complet callback

I have a jquery function one for lot of ".class" objects, and i wanna call
function complete after .one function was called on all ".class" objects.
This is .one function
$(".pas_img").one("load",function()
{
//some code here
}).each(function()
{
if(this.complete) $(this).load();
});

No comments:

Post a Comment