I want to show alert box only for 3 seconds (Means it show & hide automatically). I have search lot of in google but doesn't get answer. Any suggestion really appreciated.
I have done with new window but still finding solution with alert box. Chk My code :
function fn() {
var w = window.open('', '', 'width=300,height=2px')
w.document.write('Product has been added to your Order List !')
w.focus()
setTimeout(function () { w.close(); }, 2000);
}