J
Jason S
[if I am posting to the wrong group, apologies & please advise as to
correct one]
[sound of head-scratching]
Is there a list of which browsers allow DHTML to create new <img>
elements? e.g.
var img = document.createElement('img'); img.src = '...some image
source path...';
I've been working on a webpage which uses Javascript to add images
dynamically. Works fine on Firefox. I've been using a different browser
(Mozilla 1.7.5) to test pages to make sure the browser isn't seeing any
special permissions (being logged into websites for instance). It won't
let me modify the .src field of an image, even a new one. It appears as
though the .src field reverts to null.
I did something similar about a year ago, & could have sworn it was
working just fine last year on Moz 1.7.5...
is this bad methodology? is there a good list of what DHTML/Javascript
features that work in Firefox will break on IE / Netscape / Mozilla?
correct one]
[sound of head-scratching]
Is there a list of which browsers allow DHTML to create new <img>
elements? e.g.
var img = document.createElement('img'); img.src = '...some image
source path...';
I've been working on a webpage which uses Javascript to add images
dynamically. Works fine on Firefox. I've been using a different browser
(Mozilla 1.7.5) to test pages to make sure the browser isn't seeing any
special permissions (being logged into websites for instance). It won't
let me modify the .src field of an image, even a new one. It appears as
though the .src field reverts to null.
I did something similar about a year ago, & could have sworn it was
working just fine last year on Moz 1.7.5...
is this bad methodology? is there a good list of what DHTML/Javascript
features that work in Firefox will break on IE / Netscape / Mozilla?