You need to keep track of $('#dialog_link_' + num) so that you can
remove it when the delete function has finished and you close the
dialog.
Since you store num in the variable myID you could use that. If the
delete image is in a container you might want to remove that instead.
Anyway writing something like $('#dialog_link_' +myID).remove() will
remove the delete image. If you want to delete the parent element you
do
$('#dialog_link_' +myID).parent().remove() and so on.

This way you don't have to actually reload the page to see the results
of the delete.

On 1 Maj, 13:11, "[email protected]" <[email protected]> wrote:
> Cheers mate.
> But my primary problem is that how to reload that page. Ive got page
> on which is list of records and delete button which callse that jQuery
> dialog. Dialog runs php script and delete record. But the list is
> taken before that delete and remains same. I need some function which
> reloads the page with list after click on delete at dialog or
> something what solve my problem. Please help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to