javascript - on click webpage open window.open() and that include frameset but window.close not working in frameset -


i facing 1 big problem ( atleast me )

on click webpage open window.open() , include 1 page , page contain iframe window.close not working in iframe.

this onclick want open window.open

 <a onclick="window.open('http://localhost:8080/xyz.jsp', 'tool','width=720,height=500,resizable=yes,scrollbars=yes');return false;" target="tool" href="#" class="nav5b">new style</a> 

this url in window.open in localhost:8080/xyz.jsp

this frame coming

  <frameset>         <iframe id=someid" width="700" src="http://localhost:8080/test.form" name="frame1" scrolling="yes">     </frameset> 

have tried

parent.window.close(); 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -