Wednesday, January 28, 2015

Re: how to have popup window and print it

IMHO - You can't find anything in Django because it's not a Django problem.
The popup windows you can do it a little of javascript [1] and for print you can do a button in html and use javascript for print the page onclick="javascript:window.print();" (something like this, i think)

Fill with data your popup it's a Django job... with views you can solve it.

--
Rafael E. Ferrero

2015-01-28 0:08 GMT-03:00 163 email <paiis314@163.com>:
hi.
i'm new to django. i'm try using django1.7 with jquery ,bootstrap.
 Now i have a webpage , i want:
  when click a  link , there is  a new popup window, and form with data from database 
  in  popup window,and then print contend in the popup window.
but i did not find how to do it just using django in doc of django.
is there anybody can tell me how to do it with  example code .
Thanks!   

--
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+unsubscribe@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/201501281108172507659%40163.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@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/CAJJc_8UZz644q34Snj7KiGjh2FMN4avq02MyNoORGaakSXX8iw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment