javascript-alert

Is there a JavaScript alert that doesn't pause the script?

I'm looking for something like alert() but doesn't "puase" the script. I want to display an alert and allow the next command, a form submit(), to continue. So the page will be changing after the alert is displayed, but it won't wait till the user has clicked OK. Is there something like this or is it just one of those impossible things?...

Capturing Javascript Alert in Webbrowser Control

Using the webbrowswer control to cruise a site. Sometimes errors occur which involve a javascript popup box. I would like to do a couple of things when this happens. Know when a javascript alert popups up. I have used the LostFocus event with some success but anytime it losses focus that code runs which is annoying. I would like ...

Pass Javascript Alert a Value

I'm looking for a simple javascscript alert box. I need to be able to pass the alert box a string of text. Is something like this possible? My syntax is probably wrong. <html> <head> <script type="text/javascript"> function show_alert() { alert(my_string_here); } </script> </head> <body> <input type="button" onclick="show_alert()" va...

How to edit a JavaScript alert box title?

Hi, I'm generating a JavaScript alert with following code in C# .NET page: Response.Write("<script language=JavaScript> alert('Hi select a valid date'); </script>"); It displays an alert box with the heading title as "Message from webpage". Is it possible to modify the title? ...

Javascript alert box

So I am trying to make it so a user clicks a button to email me, a js alert box pops up with a message and then after they click ok it goes forward with the email link. This is my code thus far: <a href="mailto:[email protected]"> <a href='javascript:window.alert("All reservations must be made by phone!");'> <img src="http://wfi...

Ruby on Rails Mysterious Javascript Alert box with cookie information

I have a problem in a Ruby on Rails app that I am working on. I have been working on the app for months and I have never had this problem before and after a bit of Google searches I think that somehow someone is trying to steal cookies with javascript. When I click on the link I get an alert box titled "the page at www.napkinboard.com s...

Change the title of message box in ASP.NET

I am displaying a message box using this code ClientScriptManager.RegisterStartupScript(typeof(Page), "successfull", "alert('Your email has been sent successfully!'); window.location = 'www.mypage.com/Default.aspx';", true) it's working properly now i want to change the title of this message box then how can i do this title is - the ...