I'm trying to open a Django template using JS as a popup. Actually I've done this. But it opens a separate window but I want a clean dialog box or simply a division instead of that window.
Using window.open method, clicking on the "Advance", "popitup" function runs. Here's the code: http://pastie.org/9580729 The popitup function takes the passed url and opens a window containing template sent by the view. But how to open a dialog box instead? I've tried using AJAX, like told in the link below but yet unable to do: http://stackoverflow.com/questions/19267531/how-to-open-jquery-ui-dialog-with-ajax-request -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. 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%2BxiKAooDSdCqfeYPOXOirgBbEr1KDaosp7F%3D4KTGb0TYJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.