how can i use javascript to remove alerts after displaying on php code example Example: simple alert program in javascript alert("this is the alert")