K
K B
I'm using 2.0 and am opening a popup window in javascript. All works
fine including the Calendar popup window and the select function. When
it gets to the last line which is to process the client script to return
the value to the window.opener it just keeps the popup window open.
I tried testing it by just making the <script>window.close();</script>
which worked fine.
The script (with value at runtime)is:
<script>window.opener.document.getElementById('panel1:txtStartDate').val
ue = '04/13/2006';self.close();</script>
I've checked the ID in the parent window and used this method many times
in ASP.NET 1.0.
PLEASE if anyone can help me...I've spent all day on this.
Thanks,
Kit
fine including the Calendar popup window and the select function. When
it gets to the last line which is to process the client script to return
the value to the window.opener it just keeps the popup window open.
I tried testing it by just making the <script>window.close();</script>
which worked fine.
The script (with value at runtime)is:
<script>window.opener.document.getElementById('panel1:txtStartDate').val
ue = '04/13/2006';self.close();</script>
I've checked the ID in the parent window and used this method many times
in ASP.NET 1.0.
PLEASE if anyone can help me...I've spent all day on this.
Thanks,
Kit