I was wonder how to do a relinquish operation in JavaScript?
What I have is a tight loop in JavaScript that hogs all the processor time. During this time, it is updating a textfield in the document. Unfortunately, the type JS loop means that the browser never gets time to paint the field (not to much a button to interrupt the processing is made impossible).
In Java you can use the Thread to get the desired effect (sleep, etc...). In VB that had that silly procedure you had to scatter all over the place DoEvents.
Is there a similar facility in JavaScript running inside the browser DOM?