• 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

Focus on child window after parent window gets refreshed

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On clicking a particular button in a web page, a pop up appears. And after clicking submit on the pop up, my parent window should get refreshed but the pop up window should be focused. But i find the pop up window goes behind the parent window screen and i couldn't focus on the pop up window using window.focus() method. Kindly provide a solution to place the focus on the pop up window while the parent window refreshing should also happen. And am using IE8. I have tried the following approach.


var popup;
parentwindow = window.open(.........);
//...parentwindow refreshing code.
popup = window.open(.....);
popup.focus(); or popup.window.focus();
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyhow help with this??
Facing the same issue
 
reply
    Bookmark Topic Watch Topic
  • New Topic