Welcome visitor
* Login
* Register
It is currently May 26th, 2019, 3:05 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  help with parent.window
PostPosted: March 11th, 2009, 12:54 am 
User avatar

Posts: 52
I have a form that pops-up another window that contains 'another form'. What can i do to "block" the parent window, so the user can not modify the data that is on the parent.window until he submits the info required on the child.window? Thanks.


Top
 Profile  
 
  Re: help with parent.window
PostPosted: March 11th, 2009, 1:04 am 
User avatar

Posts: 86
You can add a function to validate that the child window is open, if so, set the focus to that window. Maybe this points you on the right direction:
<body onclick="disable();">
function disable(){
if(childWin && !childWin.closed)
childWin.focus();
}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron