This question is better suited to the jQuery UI mailing list.

http://groups.google.com/group/jquery-ui

On Jun 1, 7:20 pm, sAvEoURpLAnET <[email protected]> wrote:
> Hi,
>
> I had this code in a single file, and I want to refresh each Dialog
> content every time I open it.
>
> <div id="dialog1">
>    <input type="text" name="my_name" id="my_id" size="10"
> maxlength="10" class="my_class">
> </div>
> <div id="dialog2">
> ... another content goes here
> </div>
> <div id="dialog3">
> ... last content goes here
> </div>
>
> Each dialog is displayed by different onClick event. I want to refresh
> or initialize the text value every time I call or open the dialog.
> How can I do this?
>
> One thing to do it is to do like this every click event, $
> ("#my_id").text(''); but I had a lot of FORM ELEMENT inside.  How
> about $("#dialog1").destroy() ? ?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to