I\'m generating a JavaScript alert with following code in C# .NET page:
Response.Write(\"
Override the javascript window.alert() function.
window.alert = function(title, message){
var myElementToShow = document.getElementById("someElementId");
myElementToShow.innerHTML = title + "" + message;
}
With this you can create your own alert()
function. Create a new 'cool' looking dialog (from some div elements).
Tested working in chrome and webkit, not sure of others.