On 6/3/2009 2:50 PM, Ivan Marsh wrote:
Quote:
Anyone have some simple examples of thread safe AJAX?
I'm working with a page where I'm trying to update the innerHTML of three
different anchors with the contents of simple text files when the page
loads. Only the last anchor gets changed.
I'm assuming this is a thread safe issue. |
Javascript in the browser is single threaded, so inherently thread-safe. How
are you creating the events? if you assign window.onload, then reassign it,
only the last assignment will run.
--
Michael J. Ryan - http://tracker1.info/
.... FRA #194: It's always good business to know about new customers before
they walk in the door.