Hi friends....
I have an alert message just like

alert("Hiii");

I want to close it automatically as soon as it appears.
It means I don't want to show this alert message to client.
Can anyone tell how i can do it???
Please help me......
Thanks in advance.....

No, but a certain plug-in on a certain browser (such as FF) may allow you to do so. The reason is that when a page is done loading, the script would have already been called and finished. As a result, normally you have no control until scripts have done their job. You can't just simply invoke your own script on a browser after any page is done; however, on FF such as Greasemonkey allows you to invoke your own script on specified locations right after the page is loaded. With other browsers... er... :P

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.