Tuesday, April 16, 2013

Refresh or Reload showModalDialog

The process of Refreshing or Reloading showModalDialog is simple if know how to do that. But if you are looking for a solution it make be pain full task. so this blog is to help you how can you refresh or reload popup window with minimal code.

First of all showModalDialog doesn't feel that way.
steps:

1. Add
<html>
<head>
< base target="_self" />
.....
.....
</head>
By default target is set "_bank".
2.
add link to page as hidden
<a href=”" id=”PageLink” style=”display:none;”>
3.
add url to this page
document.getElementById('PageLink').href = 'test.html';
document.getElementById('PageLink').click();
 
 
Happy Living....
Happy Concepts....
Happy Programming ..... 

No comments:

Post a Comment