Thanks Rafael E. Ferrero a lot . this is what I want.
Web programing is really hard to me as a shell programmer.
Hope I can know it well soon.




163 email

From: Rafael E. Ferrero
Date: 2015-01-28 19:30
To: django-users
Subject: 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.

[1]-http://www.quirksmode.org/js/popup.html



--
Rafael E. Ferrero



2015-01-28 0:08 GMT-03:00 163 email <paiis...@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+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/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+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/CAJJc_8UZz644q34Snj7KiGjh2FMN4avq02MyNoORGaakSXX8iw%40mail.gmail.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+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/201501290844456256107%40163.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to