By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,249 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

document.write in wrong place

P: 24
Hello:
I put document.write in an onload function and now the site executes the statement and I can't access the website code or website anymore. It is in SharePoint. The site flashes for a second and then the write statement executes immediately. Any way to edit the SharePoint code?
Mar 24 '15 #1
Share this Question
Share on Google+
2 Replies


Dormilich
Expert Mod 5K+
P: 8,639
I put document.write in an onload function
which subsequently deletes the page/scripts from the browser since this is what document.write() is supposed to do.

Any way to edit the SharePoint code?
access it through FTP. otherwise, let a SharePoint admin delete/reset it so you can start over.
Mar 24 '15 #2

P: 24
I already fixed it. Was trying not to have to start over.
Mar 24 '15 #3

Post your reply

Sign in to post your reply or Sign up for a free account.