common answer would be "wait longer then")....
i dunno, the whole framework/flow of that guys code just seems
unreliable/unstable
On Oct 31, 11:41 am, Mike Alsup <mal...@gmail.com> wrote:
> > Wouldn't a better version of the code be
>
> > $.blockUI();
> > searchLocDep( .... );
> > searchLocArr( .... );
> > searchLocInt( ... );
> > setTimeout(function() {
> > $.unblockUI();
>
> > }, 200);
>
> > That way all the "search" stuff gets run asap?
>
> No. You need to give the browser a chance to render the DOM updates
> before hitting it with intensive stuff.
No comments:
Post a Comment