Background calculation using an IFrame

This example uses an IFrame to offload the calculations. But because IFrames are inherently non-threadsafe, there are no parallel processing takes place.

Click on the Calculate button, and you can see the UI is practically frozen until the last calculation is completed.