Sign In/My Account | View Cart  
advertisement

Article:
 Fixing AJAX: XMLHttpRequest Considered Harmful
Subject: synchronous script tag hack?
Date: 2005-12-13 17:21:39
From: dr_burrito

This is a very useful and insightful article, though I think there's one important mistake in the Script Tag Hack section: "For all other web browsers, the script tag essentially fetches data synchronously." Ideally, I'd like to do just that -- include a script synchronously in Firefox and other browsers. But in my testing, the script inclusion is asynchronous. I can only safely proceed with the new script if I use an event handler or polling.


Is there a way to do truly synchronous on-demand JS?


Previous Message Previous Message   Next Message Next Message


Sponsored By: