• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Safari browsers focus property

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a situation in which i have a parent window and i open a child window and on close of this child window i set my focus on the parent window and when the parent window gets a focus it refreshes... its my requirement. This works very wel in case of Mozilla 3.0 and in all versions of IE. But in case of safari when the child window closes the focus does not comes on parent automatically, in order to set focus on parent window i have to manually click on the safari browser twice and then i see the browser turning blue which it does when it gets focus and my parent window refreshes, this means my parent.focus() from child window does not works for safari.

Any body has any thoughts about this?

I am using Safari 3.2.2 on windows.
 
Vinod Borole
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If anybody have any thoughts on this, please help me
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The people that normally seem to answer question here live on the east and west coast of the US. So you posted it at 4AM EST, hence why no one answered it!

Should be window.opener.focus()

parent is for frames.

Eric
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please read this for more information.
 
reply
    Bookmark Topic Watch Topic
  • New Topic