@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 instead of type="button" in your example, I used type="submit".
The popup would open when the button was clicked, but then the result
of the action was rendered in the original window, not the popup.

@Piotr

I have tried using target="_blank" as an attribute of the <form> 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
browser. It did not work.

Thanks for your suggestions,
Ken

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 post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to