hi there, how can i write a function that accepts a callback function? $(selector).myFunction(argument,options,function(){ //do the thing });
i want myFunction to load some data via(an unordored list actually) load method end then somehow to return the wrapped elements for the callback function, exactly like load() does.