Firebug is a great tool to chase this bugs...

On Thu, Sep 11, 2008 at 7:23 AM, Silvaran <[EMAIL PROTECTED]> wrote:
>
> Solved...
>
> I love reading posts like this, but I hate writing them, I feel so
> silly.
>
> If I follow up the $("#dialog").dialog( "destroy" ) with a $
> ("#dialog").remove(), it fixes the issue.
>
> I solved it by paring down the example to a single HTML file (34 lines
> long) and I could still reproduce the issue.  I checked the JS console
> and did a $("div[id='dialog']") and it returned an array of length
> TWO.
>
> I'm guessing I have a fundamental misunderstanding about how dialogs
> work.  Is it fair to say that the dialog code moves the dialog div
> within the DOM, so when I reload the content, it ends up ADDING
> another #dialog rather than replacing the old one?
>
> Thanks for reading :).
>
> >
>



-- 
Perhaps the depth of love can be calibrated by the number of different
selves that are actively involved in a given relationship.

        Carl Sagan (Contact)

        Jaime Ochoa Malagón
        Arquitecto de Soluciones
        Cel: +52 (55) 1021 0774

--~--~---------~--~----~------------~-------~--~----~
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