Sunday, October 30, 2011

Re: Using javascript

There are many ways to handle that, and there are many javascript libraries with different ways of doing it.  Unless you were using something like http://banchaproject.org/ there is nothing cakephp has to do with it.  
Here is my recommendation on learning javascript, the DOM, and events.

On Sun, Oct 30, 2011 at 4:18 AM, arti grover <groverarti7@gmail.com> wrote:
thanks a lot..but plz considr this question
I have made a function chat() in my users_controller and I want to add
certain conditions like if a user cancels session before chat starts
than a button should appear naming CANCEL_SESSION.but the moment
session starts that button should dissapear and anothr button naming
end session should appear..How can I achieve these things with conditions mentioned in controller??I am stuck
at this problem since last 1 day..somebody plz guide ASAP.


On Sun, Oct 30, 2011 at 2:41 PM, WebbedIT <paul@webbedit.co.uk> wrote:
This is not a CakePHP question.  CakePHP is a PHP framework which
produces HTML, so anything you can do with HTML and javascript can be
done in CakePHP.

Go find a javascript tutorial that matches your requirements and give
it a go, you will feel better for being able to find the answer to
such a simple task yourself!

But just to whet your whistle, here's a little tip from me:
http://jqueryui.com/demos/dialog/

HTH, Paul.

On Oct 29, 6:16 am, arti grover <groverar...@gmail.com> wrote:
> Hi all,
>
> I want to call a javascript alert box the moment A user clicks on CANCEL
> SESSION link.where should i put the javascript alert box in view and what
> how to code that javascript function inside view??
>
> --
> Regards
> Arti Grover

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php



--
Regards
Arti Grover

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: