Just wondering if anyone has any idea on how to solve this problem I seem to be having with IE 
I'm trying to create a client side script using RegisterStartupScript and it is writing a URL inside a <div>.
Under FireFox, it works without any problem at all, but IE fails to display the link. However, when I tried writing in an image tag instead of a URL (just to test it), IE displayed it fine.
Maybe I'm overlooking something obvious, but it's got me stumped - any ideas?

I'm trying to create a client side script using RegisterStartupScript and it is writing a URL inside a <div>.
Code:
string scriptStr = "<script type=\"text/javascript\">\n";
scriptStr += "document.getElementById('fileResources').innerHTML = '<a href=\"test.html\">Testing</a>'\n";
scriptStr += "</script>";
RegisterStartupScript("startup", scriptStr);
Under FireFox, it works without any problem at all, but IE fails to display the link. However, when I tried writing in an image tag instead of a URL (just to test it), IE displayed it fine.
Maybe I'm overlooking something obvious, but it's got me stumped - any ideas?
