toast message auto display time bootstrap code example Example: set auto-hide toast javascrpt $(".toast").toast({ autohide: false });