M
Mike
Hi. I have a unique problem. I have some HTML which displays correctly when
I input it into an aspx page or html page. But when I use javascript's
document.write() to write the html directly to the page, I get a script
error. The nature of the program requires me to use document.write() instead
of simply typing html directly.
The html is pretty simple - It's just a table. I've uploaded the page below
so you can see it...
www.masonsolutions.net/testing/page.html
As you can see, it looks fine here as regular HTML. But when I use
document.write() I get a script error saying "Syntax Error Expected ')'".
Could someone please let me know why this script error occurs when I use
document.write? This is an asp.net project, and I know someone here can
provide an answer, which is why I've posted here; please let me know if I
should post elsewhere.
Thanks!
I input it into an aspx page or html page. But when I use javascript's
document.write() to write the html directly to the page, I get a script
error. The nature of the program requires me to use document.write() instead
of simply typing html directly.
The html is pretty simple - It's just a table. I've uploaded the page below
so you can see it...
www.masonsolutions.net/testing/page.html
As you can see, it looks fine here as regular HTML. But when I use
document.write() I get a script error saying "Syntax Error Expected ')'".
Could someone please let me know why this script error occurs when I use
document.write? This is an asp.net project, and I know someone here can
provide an answer, which is why I've posted here; please let me know if I
should post elsewhere.
Thanks!