normally in laravel 4.2 when create flash message by
session::flash('message','this flash message');
and display by
session::get('message');
it disappear when refresh page.
the question how set display time of flash message?
(for example: after 3 seconds, message disappear!).
this how it.
$('div.alert').delay(3000).slideup(300);
change alert whatever class using display error message.
Comments
Post a Comment