alert

experiencing lag in variable passing between popup and opener

Hey all, I am getting some strange (at least to me!) behaviour from the javascript in a web application I am developing. There is a popup window with a form. Upon validation and submission, the information from the form is aggregated into a comma-separated string. This string is then passed to opener window by assigning the string (da...

jQuery - modify the prompt/alert functions

Hey, I need an advice, if it's worth it to downlaod a jQuery plugin (such as Impromptu), or if it's easier to make my own code just to modify the "prompt" efect. All I need is something like the first example of THIS. Or is there any other way, how to show a box of text in the midle of the screen, that stays there even when I move scrol...

alert box in $html->link in cakephp

Hi, I know that the code to get a confirm message while clicking on a link is as given below. <?php echo $html->link('Delete', array('controller'=>'forms','action'=>'delete', $r['Form']['id']), array(), 'really delete the Form ?', false ); ?> I need an alert box saying "Your form has been deleted" after delet...

SharePoint List Of Recently Updated Pages

Hello all. I am trying to find a way to inform a group of users whenever any of the pages in our SharePoint site are updated. Originally we were going to use alerts, but we have numerous subsites in our site. This means (to the best of my knowledge) that we will have to set up alerts for every subsite. This is not an option because...

get alert boc using clientscript.registerstarupscript()

Hi, I am facing an issue in ClientScript.RegisterStartupScript() in an asp.net 2.0 application. I am not getting alert message when I used the above specified instead of Response.Write() . Thanks Rupa ...

Javascript and AJAX, only works when using alert()

Hello everyone, I am having trouble with my javascript. It seems to be acting oddly. This is what's going on. I have a form, after the user submits it, it calls a function(onsubmit event) to verify the submitted data, if something bad OR if the username/email is already in database(using ajax for this part) it'll return false and display...

Javascript and onbeforeunload?

I have <span class="cssButton"><a href="javascript:void(0);" class="buttonBlue" onclick="swfu.startUpload();"> <img src="http://uber-upload.com/img/icons/up_16.png" alt=""/> Uber-Upload! </a></span> And i want to make it so that if you press that button, it also sets a variable that makes it so that if you try to leave the page, it wi...

Is it possible to display superscript characters in the alert() dialog?

Is it possible to display superscripted characters (not only numbers) in the alert(), confirm() or prompt() dialogue boxes in JavaScript? Due to some reasons I need to insert a text: 2 followed by superscripted 'n' 2^n Into JavaScript alert, confirm and prompt boxes. Fast google searching did help but not exactly I found a way to dis...

Problem with Alert in the Selenium IDE

How can I do to verify or assert an alert with a message that contains a variable in this text? For example, I have to capture a alert with this message: Answer number (var id_answer) successfully accepted. id_answer is the variable and I don't know this value before the alert is show. This alert is triggered for a flash[:notice] ...

Click in OK button inside an Alert (Selenium IDE)

Hello! I need to click in the button ok inside alert window with a selenium command. For me assertAlert or verifyAlert aren't enough It's possible? Anyone can help me with this with a example for a complete syntax command in Selenium IDE for this problem? Thanks Bruno ...

javascript alert terminates rest of script

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <title>Login</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript">alert("Hola amigo")</script> </head> <body> --I ...

Question about javascript alert asp.net c#

I'm working on a web page that saves in user information on a button click and then redirects the page. However, I want to alert the user if he/she forgets to fill in a value in one of the controls. and ask to correct the error and click the save button again.. I implemented a similar function with confirmbox but since the alert box do...

Thank you alert upon form submission

I have a very basic form at http://www.happyholidaylites.com/contact.html and it is working great. When you submit the form, the user is brought to the index.html with no message that the form has been sent. I am looking to initiate an alert that says, "your form has been submitted" with an x button. My code looks like this: <fo...

How do I display an error message in asp.net?

I have a bunch of text boxes and a save button to update something. When I click "Save" I have code that determines whether they are correctly filled in, in the code behind file. If they are not correctly filled in, I want to display an error message in the form of an alert. What is the best way to do this? Pressing the button obviousl...

T-SQL: Convert datatime2 to datetime for all columns of type datetime2

I've got a database full of datetime2 columns than needs to be moved to a SQL 2005 database. So, I need to convert all these datetime2(7) columns to datetime. How can I go about doing this? Right now I've managed to select the table name and column name for all columns with the datetime2 datatype like this: SELECT t.name, c.name, i.DA...

Javascript Alert in META tag

Is there any way to work an alert to run when I echo a META tag which is refreshing the page? The goal is to have the page refresh and then the Alert loads. Example of current line: echo '<META HTTP-EQUIV="Refresh" Content="0"; URL="contact-test.php">'; ...

alert() prompt - Checkboxes

With alerts you can have text inputs. I was hoping you could put check boxes in. Is this possible? http://www.w3schools.com/JS/js_popup.asp ...

Problem with sound and alert when iPhone sleeps...

Hi I have an app almost written but there is one thing that I can't sort out. I have a timer and when this is running and the iPhone goes to sleep the "alarm" isn't called. In this case the alarm is an alert that pops up. The app just keeps running and the alert never pops up (or at least I don't think it does, could it be disappearing a...

jQuery confirmation not working in Chrome

Hi, I'm trying to create a basic confirmation box which prompts users with a simple confirm/cancel when they click on a link. This is working fine in FF and IE, however Chrome just seems to ignore it. Can anyone see why this might not be working? //Confirm Duplication $("a[href*=duplicate]").click(function(event){ ...

Show reminder as floating popup/alert

I need to show a reminder as floating popup/alert in my asp.net mvc (C#) application. When the user has any information from the admin that should be notified at particular time, i need to show it as floating popup/alert in the user's screen. For ex.: When the admin sets an alert "Payment due last date is 15-Oct-2009" to notify the use...