Hi,
The button's javascript used needs to return false.
You can also use jQuery's preventDefault function depending on your needs.
HTH,
LipeDjow
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
hi friends
i m trying to pop up a new window in click
but there are two submit button on my form. on one of them i want to
give popup
name of my buttons are"Respond", and "Submit".
on click i could open an new window but form is also get submitted.
can any one suggest me how to restrict form from
hio guys, i need help from you.
I want to get a pop up window to show success or failure message when
user submits a form.
Any help is greatly appreciated.
thank you.
kiran.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You
use Session::setFlash and show/hide the message div with javascript.
it won't work with flash - cake is *redirecting* to the flash message
so you will always get a new page.
On Jan 14, 2008 6:39 AM, Sai <[EMAIL PROTECTED]> wrote:
>
> I have created a layout flash.thtml in app/views/layouts
>
> Th
Paste full layout. where's link to js?
On Jan 14, 6:39 am, Sai <[EMAIL PROTECTED]> wrote:
> I have created a layout flash.thtml in app/views/layouts
>
> The code in this flash.thtml is:
>
>
>
>
>
>
>
>
>
>
>
> ec
I have created a layout flash.thtml in app/views/layouts
The code in this flash.thtml is:
Close
I am having the following problems:
1. It is not setting a pop
Than you. I'm solve the problem. ;-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EM
i like to substitute the
> value in the parent window.This id is receiving for the function like
> this
> ProjectItemUnitCost_idfamilyidcostitem.When I click in the link in my
> pop up window i call this function of the code above.I execute a
> application and see the Mozilla's
tem.When I click in the link in my
pop up window i call this function of the code above.I execute a
application and see the Mozilla's Error Code and have massage
projectForm has no properties.
I think this happen because the parent window is ajax who generate a
table for choice something an