On Mon, Sep 22, 2014 at 9:14 PM, Collin Anderson <[email protected]>
wrote:
> What happens when you try?
I'm not getting how to tell AJAX to go to a view and load the data that it
returns as the template, (in dialog). It's just not done. Feeling too dumb
to use it. And doesn't work when I send a URL like:
'/popupadvance/?worker_id={{worker_id}}'
@Fred Stluka
Yes, I've checked it <http://jqueryui.com/dialog/>before. It just opens
​up a​
division that is defined in the same HTML file and is working fine as a
separate file.
<quote>
Just make an Ajax call to the URL
to get the HTML, instead of passing the URL to window.open(),
and pass the HTML to the jQuery dialog widget.
</quote>
How? This is what I'm not getting. Can you give me a quick example of the
same
​,​
using Django?
--
Kamaljeet Kaur
--
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%2Bxg8PocekfN7-bGcdN4VYRLfpCu%3DRzJ4kPh4ymD_j6o7Kg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.