WinHandle=window.open('',winName,features);
var form1 = WinHandle.document.createElement("form");
And I have something like this
WinHandle.form1.setAttribute("id",id);
WinHandle.form1.setAttribute("method","post");
WinHandle.form1.setAttribute("action",target);
Когда я выполняю этот код, я получаю следующую ошибку скрипта:
Winhandle.form1 is null.
Может ли кто-нибудь помочь мне?