T
Tim Streater
The statement:
myImage.src = "wiggy.jpg";
appears to be a no-operation in FireFox 2.0.0.14 under XP. Works fine in
IE7 (XP) and on the Mac under Safari and FF.
myImage points to an <img ...> and wiggy.jpg is in the same directory as
the HTML file (a network mount, from which all these browsers were
accessing it).
I did read somewhere that JS is not supposed to have access to the local
filesystem and therefore the operation should be disallowed anyway,
however, this sort of operation seems to be widespread. See, e.g.:
http://www.webdevelopersnotes.com/tips/html/42.php3
Any pointers welcome.
myImage.src = "wiggy.jpg";
appears to be a no-operation in FireFox 2.0.0.14 under XP. Works fine in
IE7 (XP) and on the Mac under Safari and FF.
myImage points to an <img ...> and wiggy.jpg is in the same directory as
the HTML file (a network mount, from which all these browsers were
accessing it).
I did read somewhere that JS is not supposed to have access to the local
filesystem and therefore the operation should be disallowed anyway,
however, this sort of operation seems to be widespread. See, e.g.:
http://www.webdevelopersnotes.com/tips/html/42.php3
Any pointers welcome.