Prevent JavaScript code blocking the UI thread with setTimeout + handy stopWatch to profile JS code

added by Leniel Macaferi
5/24/2013 5:11:22 PM

7 Kicks, 471 Views

In early January of this year I was implementing some JavaScript code that does a lot of processing on the client side with the help of jQuery. It’s part of a project where my customer asked for the possibility of answering a questionnaire in two ways: using a Wizard (one question at a time) and Listing (all questions at once) in a single form. The client side code for the Listing was the culprit and is the subject of this post.


0 comments