onlycode.org

javascript
jquery
html
css
angularjs
node.js
ajax
html5
php
json
arrays
google-chrome
dom
regex
reactjs
ecmascript-6
javascript-events

your's history:
close alert box...

close alert box, just only code

alert | javascript-events | dialog | javascript

edit
var notification = new Notification("Hi there!", {body: "some text"});
setTimeout(function() {notification.close()}, 1000);

32
rogerdpack, 17.07.2017 23:13



edit
var alert = bootbox.alert('Massage')
alert.show();
setTimeout(function(){alert.modal('hide'); }, 4000);

24
Dhaval Rajpara, 01.09.2017 12:39




edit
window.setTimeout('alert("Message goes here");window.close();', 5000);

20
Al Foиce ѫ, 20.07.2017 20:15

Add your just only code

your name:    



If you need full text click here

Some similar links close alert box ↓:
alert box with timer

Twitter Bootstrap alert message close and open again

: Detect when an alert box is OK'ed and/or closed

New line in JavaScript alert box



This project is created for those who just need only code, wihout maaaaaaaaaaany words.