Re: pop up window on one of two buttons in one form

2011-03-14 Thread LipeDjow
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

pop up window on one of two buttons in one form

2011-03-14 Thread andy_the ultimate baker
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

getting pop up window when user submits form.

2010-11-29 Thread ambati kiran
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

Re: Flash - Want to show a Javascript pop-up window for success/error messages

2008-01-14 Thread Marcin Domanski
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

Re: Flash - Want to show a Javascript pop-up window for success/error messages

2008-01-13 Thread majna
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

Flash - Want to show a Javascript pop-up window for success/error messages

2008-01-13 Thread Sai
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

Re: Pop Up Window

2006-08-25 Thread Norberto
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

Re: Pop Up Window

2006-08-24 Thread Mathieu Gagnon
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

Pop Up Window

2006-08-24 Thread Norberto
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