Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Cakephp - Removing setFlash bar

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 90
    Comment on it

    We can get rid of the flash message shown on a webpage in cakephp using setFlash method without refreshing the page by the help of simple Jquery function.

    flashMessage is the default html id used by the cakephp while showing flash message.

    //Getting rid of flashmessage
    $(document).ready(function(){
        $('#flashMessage').delay('5000').hide('slow');
    });
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: