document.write in wrong place

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jlellis
    New Member
    • Mar 2015
    • 24

    document.write in wrong place

    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?
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    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.

    Comment

    • jlellis
      New Member
      • Mar 2015
      • 24

      #3
      I already fixed it. Was trying not to have to start over.

      Comment

      Working...