Hello,
> @Piotr
>
> I have tried using target="_blank" as an attribute of the tag.
> It does what you would expect - it opens the result in a new window. I
> then tried target="javascript:popup()" where popup is a javascript
> function that open a popup, but this seems to be ignored by the
> brow
@Mohamed
Thank you for your suggestions. However, in both your examples, the
form is not actually submitted (unless I am missing something). I need
the form to be submitted (hence calling the action) and the result of
that action be rendered in a popup. I have tried a similar approach
where instea
Hi Ken,
There are several methods to accomplish this task. you can use onclick or
use javascript with onclick.
*Example: 1*
","Homepage","resizable=no,status=yes,scrollbars=yes,height=970,width=945,menubar=yes,addressbar=no")
type="button" />
*Example :2*
function popup() {
window.open("le
As suggested by Piotr Kiczuk, the simplest is to use the target
attribute for the form but that's deprecated.
Another way, basically requires you to add some javascript to the page
with the printer friendly button. The idea is when the user clicks the
button you "refresh" the page but with some ex
css
http://www.w3schools.com/CSS/css_mediatypes.asp
Hope that helps.
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
Of kdubya
Sent: Wednesday, December 16, 2009 3:07 PM
To: CakePHP
Subject: Open action in popup
I have an application where I want
Hello,
C http://www.w3schools.com/tags/tag_form.asp / target attribute.
Regards,
Piotr
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To
I have an application where I want a "printer friendly" rendering. My
print() action has it's own layout. The action is called from a form
(method=POST). I need all the input from the form to generate the
stuff to be printed. How do I get the resulting stuff to be rendered
in a popup window instead