P
parez
Hi all,
i have a page page.aspx which spits out javascript.
something like this..
document.write("<html>");
document.write("<body>")
document.write(Stuff)
document.write("</body>")
document.write("</html>")
Page2.html
<script src="page.aspx"></script>
Stuff is controlled by me.
Now i have to make change so that user can uploadtheir own html and
javascript.
and i get errors with user defined javascript in Stuff mostly because
of qoutes.
e.g var a ="safdf" + "df";
in stuff will be a problem.
Is there a way around this.
i have a page page.aspx which spits out javascript.
something like this..
document.write("<html>");
document.write("<body>")
document.write(Stuff)
document.write("</body>")
document.write("</html>")
Page2.html
<script src="page.aspx"></script>
Stuff is controlled by me.
Now i have to make change so that user can uploadtheir own html and
javascript.
and i get errors with user defined javascript in Stuff mostly because
of qoutes.
e.g var a ="safdf" + "df";
in stuff will be a problem.
Is there a way around this.