Click here to Skip to main content
15,911,711 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi I have page called 1.html
it's code is :-



function sss (){
dd=window.open ("2.html");
dd.q.submit ();
}



and I other page called 2.html
it's code is:-







and when I run the commands "dd=window.open ("2.html");
dd.q.submit ();" on google chrome console I get the following message:-
SecurityError: Blocked a frame with origin "null" from accessing a cross-origin frame

What I have tried:

I search about this but I didn't find anything
Posted
Comments
Member 14611589 13-Jul-22 12:23pm    
there's form in 2.html it's name is q

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900