You're working with #flashMessage I assume.

For regular javascript:
http://teamtutorials.com/web-development-tutorials/hide-and-show-a-div-using-javascript

For jQuery reference: http://api.jquery.com/hide/

For prototype reference: http://www.prototypejs.org/api/element/hide

so if you were using jQuery, $('#flashMessage').hide(); would do the trick
etc.

Hope this helps

On 6 December 2010 09:55, Master Ram <[email protected]> wrote:

> Hi..
>
> in my application. i have one Onchange option i used. using
> javascript. in that application i have validation for some fields.
> without entering any fields when i clicking save option. i am getting
> setFlash error message. without changing any thing i am operating
> Onchange operations but the error message still showing.
>
> my requirement is after i changing onchange option i have to clear my
> SetFlash option.
>
>
> how to clear setFlash() using javascript. in cakePHP
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>



-- 
Kind Regards
 Stephen @ NinjaCoderMonkey

 www.ninjacodermonkey.co.uk

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to