Created a separate script.js file

function opens() { window.open('open.html'); } 

I connected it to html, everything is fine in all browsers except for IE. Here is the code:

 <input type="button" name="form_reristr" id="form_registr" onClick="opens()" value="open"> 

    2 answers 2

    I think this article will help you: differences in the behavior of window.open in different browsers .

      Thank you all very much.
      As it turned out, the whole thing in line

       <!-- saved from url=(0014)about:internet --> 

      which disables javascript if the file is not on the server, but simply on the computer.

      In general, this line is needed for that. to block IE’s message that there is dangerous content and whether it is allowed to use it or not.

      After uploading the file to the hosting, everything became normal.