On Tue, Sep 23, 2014 at 11:17 PM, Fred Stluka <[email protected]> wrote:
>
> Excellent sample.  Thanks!  That's a nice standalone summary
> of how to do a popup dialog via jQuery and Ajax.  Worth posting
> to a tips page or blog if you have such, so other people can
> Google it.

@ Collin, please do the above now ;)

Yes, writing $("#dialog-form").html(data) worked like a charm. This is
what happens when we don't know all about the tool we're using :(

Can you point me to some documentation about JS + Django?

Something is left... Opening the page for the first time > Clicking on
the link > I get the dialog box as we've mentioned. But after closing
dialog by clicking on "cross" > reopening it > I get the "Contents to
be shown in popup" only in the <div> and no dialog box is there. Check
it here:
http://awesomescreenshot.com/0da3jnxoc4

Can we figure out, why does it happen? Browser console gives this:
TypeError: $(...).html(...).dialog is not a function

-- 
Kamaljeet Kaur
kamalkaur188.wordpress.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAP8Q%2BxhQTbDkc4cuu_vnNdDzqoC5vqYgxQQ4iBHp_3Ct9gOHqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to