News for hackers. Stuff that matters.
Re:Being recruited in the USA by djblaze on Wednesday January 04, 2012 @07:44PM (#3426718)
Im assuming we are talking client-side and 'next tick' means when there is a millisecond of free time. Just use: setTimeout(function, 0)

Technically supplying '0' as the milliseconds is bad in old browsers, so you might want to say 10...but I've used '0' a lot without fail.

There are no comments on this comment yet.