• 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

javascript

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have a problem, I am using a Child Window to enter data into the database. when the child window is opened no operations should be carried out on the Parent Window. I dont want to use a Model Dialog. I want to simulate the Child window as a Model Dialog and at the same time it should submit.
Could anybody please tel me how to disable the parent window until the child window is open using Javascript.
thanx in advance
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"aishwarya"
Your name doesn't follw the javaranch guidelines. Please take a moment and change your "Publicly Displayed Name" by modifying your profile after reviewing the guidelines at http://www.javaranch.com/name.jsp
thanks for your cooperation.
PLEASE CONSIDER THIS TO BE YOUR LAST FRIENDLY REQUEST.

- madhav
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also please the appropriate forum. I am moving this to the Javascript forum.
- madhav
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
You should play with onFocus/onBlur event handlers in your parent window and in popup.
So, for example,
For onfocus in main window:
if (popup exist and open)
popup.focus();
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
R U AISHWARYA RAI?
 
sowmya vasisht
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Madhav,
Thank you for giving the link to change my display name, actually I had given some name as I had forgotton my old password with this display name.
thanx again
 
sowmya vasisht
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Mr. Yurey
I'll experiment on that...
thanx again.
 
sowmya vasisht
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Mr.Thakkar.
Aishwarya is just a reference...
whats there in name!!!
If she starts learning Java. I have to start acting in movies...
Sorry if anybody have got offended...
sowmya
 
reply
    Bookmark Topic Watch Topic
  • New Topic