Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
heyy....

I have a problem ... I use a javascript alert msg ...when the alert msg shows ,the pop up title shows "The page at localhost: 3448 say "...So want to remove this and add my project name here....

Is there is any solution ....
Posted
Comments
Ple_Sub 23-Nov-15 3:42am    
หหห

1 solution

Hi,

No, it is not possible. You can use a custom javascript alert box.


Found a nice one using jQuery



jQuery Alert Dialogs (Alert, Confirm, & Prompt Replacements)

 
Share this answer
 
Comments
aravindnass 13-Mar-13 4:49am    
thank for your answer...I used the following javascript ..can you convert this to jquery....
<script type="text/javascript">
$(function() {
$('#<%=flulocation.ClientID %>').change(function() {
var fileExtension = ['jpeg', 'jpg', 'png', 'gif', 'bmp'];
if ($.inArray($(this).val().split('.').pop().toLowerCase(), fileExtension) == -1) {
alert("Only '.jpeg','.jpg', '.png', '.gif', '.bmp' formats are allowed.");
document.getElementById('<%=flulocation.ClientID%>').value = "";
flulocation.focus();

}
})
})
</script>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900