Asp.net 4.8 JavaScript Windows.open dont work

Asap74 61 Reputation points
2022-11-21T09:13:02.767+00:00

Hi.
I ve a Page default.aspx
Winth this code:
<A href="JavaScript: open()">open<\a>
<Script>
Function open()
(
Windows.open('2.aspx');
)
<\Script>

It doesnt work because It says a JavaScript error about stack.

Whats Is the problem?
I googled with no results.
Thanx

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,492 questions
{count} votes