wait message

95 views
Skip to first unread message

fabricio

unread,
Jan 5, 2014, 7:49:17 AM1/5/14
to django...@googlegroups.com
I am needing to display a wait message while processing perform some process on the server anyone could help me

Denis Chernoshchekov

unread,
Jan 5, 2014, 7:56:14 AM1/5/14
to django...@googlegroups.com
Try using Ajax.


2014/1/5 fabricio <pont...@gmail.com>
I am needing to display a wait message while processing perform some process on the server anyone could help me

--
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...@googlegroups.com.
To post to this group, send email to django...@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/55a05de9-90bf-4905-a154-23a0043f983d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

fabricio

unread,
Jan 5, 2014, 8:27:13 AM1/5/14
to django...@googlegroups.com
But my process is all done in an application that I use to report and give fpdf when I click the print button the process is all done there

Larry Martell

unread,
Jan 5, 2014, 10:21:23 AM1/5/14
to django...@googlegroups.com
On Sun, Jan 5, 2014 at 7:49 AM, fabricio <pont...@gmail.com> wrote:
> I am needing to display a wait message while processing perform some process
> on the server anyone could help me

You could create the wait message in a class like this:

<span class='loadMsg' style='display: none; '> ... loading </span>

Then at the beginning of your template do:

$('.loadMsg').show();

and then:

window.onload = function() {
$('.loadMsg').hide();
}

Derek

unread,
Jan 6, 2014, 8:21:34 AM1/6/14
to django...@googlegroups.com
Have a look at this SO Q&A:


You should be able to easily write a server-side function in Django that can check for the existence of the file...
Reply all
Reply to author
Forward
0 new messages