Skip to content Skip to sidebar Skip to footer

How To Make A Javascript Alert Not Say The Name Of The Page?

My webapp alert looks like this: InputCoordinates.html Latitude must be filled out. I would say this looks unprofessional and rough around the edges. Is there a way to stop the a

Solution 1:

You can't manipulate that. Maybe you take a look at these bastards called modal popups, if youre able to use jQuery.

There are non-jquery options, too, of course.

Solution 2:

I'd advise you not to use "alert". Use something that allows you to style it yourself, e.g., jQuery Dialog. You can make that modal if necessary (follow the links on the right of the page I sent for add'l examples).

Solution 3:

Use an HTML modal box instead of the JavaScript alert() Box.

There are plenty of options to choose from on the web, e.g. here.

Post a Comment for "How To Make A Javascript Alert Not Say The Name Of The Page?"