Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] reassign the script src attribute


  • From: wdlists at triche-osborne.com (Triche Osborne)
  • Subject: [Javascript] reassign the script src attribute
  • Date: Thu Aug 18 11:11:25 2005

Mike Dougherty wrote:
> fyi - IE appears to not 're-read' the head section for DOM-inserted 
> scripts.  So if you want to use this dynamic script trick, you have to 
> insert into a child of the body.  Since Firefox doesn't seem to care 
> where the scripts go, it seems x-compatible. (I only tested IE & 
> Firefox, since this is an intranet app)
> 

It's still a neat trick, even with that restriction. This is the sort of 
thing I joined this list to learn about. My own clientele consists of 
small, fairly prosaic business sites, so I rarely to run into 
interesting problems like this, but I do enjoy learning and 
problem-solving for its own sake.

Triche