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