![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
| Knowledge Base Most common error and how to trouble shoot them off |
![]() |
|
Parent window refresh troubles window.opener
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Fixed Error!
Posts: 139
Location: Chennai
Join Date: Feb 2007
Rep Power: 2
IM:
|
User visits page, clicks on link <a class="hidden" href="#" onclick="javascript:window.open('https://www.example.com','example','width=330,height=175')">Click Me</a> Inside the child window, user enters value and then submits form. <form name="frmExample" method="post" action="/process.asp"> <input type="text" name="boxa" size="34" maxlength="50" style="font-family: Verdana; font-size: 10px"> </form> On process.asp page, information is processed and then child window should close and parent window should refresh. <% 'Do Something Response.Write "<script>window.opener.location.reload();</script>" Response.Write "<script>window.close()</script>" %> |
|
|
|
|
|
|
|
|
#2 (permalink) |
|
Fixed Error!
Posts: 139
Location: Chennai
Join Date: Feb 2007
Rep Power: 2
IM:
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|