0

How to Change the title of the JavaScript Alert

Posted by Nantharupan on 9:48 PM in , , ,
There was a requirement to change the title of the javascript alert. But unfortunatley we can't change the default title "Alert" of the alert box.

Alternatively we can do some thing like this,

We have to define our css in order to show a box on top of the screen.

When you want to show the alert box , just change the visibility of that css class.


This is How you call the OVER LAY to pop up This is the style of the OVER LAY Java script function which change the Visibility to true or false This is the HTML for the OVERLAY By using this Mrthod you can have different pop ups as you want

0 Comments

Post a Comment

Popular posts

Copyright © 2009 On the way All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.