Cakephp dialog messages

Hi all,

Anyone know how to call a dialog alert or something like that on cakephp controller without having to create a template for the popup to load it from?

Thanks

error77Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
NeoAshuraConnect With a Mentor Commented:
use JavaScript to do this. A click event would fire and in that event, you would call "alert("hey!");" This is really independent of the CakePHP framework, as I don't think there's a JavaScript helper to do that.
0
 
error77Author Commented:
I've tried adding a JavaScript alert message on the controller and I works but I load the template first and then inside the template it popups the alert. :-/
0
 
error77Author Commented:
Any ideas please?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.