<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You can use Thickbox to handle the model popups. It offers AJAX mode
in a Hybrid model, then to handle the refresh you would want to send
this back to the browser (in the popup/modal dialog):<br>
<br>
<script type="text/javascript"><br>
var win = window.dialogArguments || opener || parent || top;<br>
win.location.reload()<br>
</script><br>
<br>
The will cause the top/parent window to just refresh, which also
closes out your modal dialog.<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 1/19/2011 6:47 AM, mahesh gajabar wrote:
<blockquote
cite="mid:AANLkTi=NpEmqErQL6JSZN4p1Fmdcu42+HvD=Mm=N7+ZW@mail.gmail.com"
type="cite"><span class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span" style="color: rgb(34, 34, 34);
font-family: 'Lucida Grande','DejaVu Sans','Bitstream Vera
Sans',Verdana,Arial,sans-serif; font-size: 13px; line-height:
18px;">
<p style="border-width: 0px; background-color: transparent;
font-size: 13px; margin: 0px 0px 0.692em; padding: 0px;
vertical-align: baseline;">
I have the html table for showing my some information with
fetching data from database. I have edit and delete action
for every row. I doing both edit and delete action in pop-up
using pop-up API module..Its working fine . Edit and delete
action are getting done. After closing pop-up my main drupal
page showing tables as it is before .After I doing manual
refresh it showing updated table. I want it be auto-refresh
as soon I confirm delete action in pop-up.How I can do it?
One more thing Instead of pop-up I need Modal window. I know
using modalframe module We can get modal window but I dont
know how I can make settings for it .So please help me.<br>
for getting pop-up I just giving class to my anchor tag like
this</p>
<p style="border-width: 0px; background-color: transparent;
font-size: 13px; margin: 0px 0px 0.692em; padding: 0px;
vertical-align: baseline;">"<a href='doctor/delete'
class='popups'> ". t('Delete')."</a>"</p>
<p style="border-width: 0px; background-color: transparent;
font-size: 13px; margin: 0px 0px 0.692em; padding: 0px;
vertical-align: baseline;">find attached module.</p>
<p style="border-width: 0px; background-color: transparent;
font-size: 13px; margin: 0px 0px 0.692em; padding: 0px;
vertical-align: baseline;">
Thanks</p>
<p style="border-width: 0px; background-color: transparent;
font-size: 13px; margin: 0px 0px 0.692em; padding: 0px;
vertical-align: baseline;">Mahesh Gajabar<br>
</p>
</span></span>
</blockquote>
</body>
</html>