Therefore, I use code like:
<form action="file.php" method="post" target="foo" onSubmit="window.open('', 'foo', 'width=450,height=300,status=yes,resizable=yes,scrollbars=yes')">
But this probably won't work if the user has disabled JS. So, how to set a new window. Width and height are not used by JS?
I know that we can use target="_blank"to open what I need in a new window, but the size ... I just can not find how to do it ...
Rella source
share