I am using a function to change the embed src in an html page, this works fine in firefox with either of the following:
Code:
document.svgmain.src = ('filename.svg');
or
Code:
document.getElementById('svgembed').setAttribute('src','filename.svg');
with the embed looking as follows:
Code:
<embed src="oldfilename.svg" name="svgmain" id="svgembed" />
Unfortunately although the initial embed svg displays fine in IE I am not able to change it using the function.
any help on this is much appreciated
Thank you