alert

Javscript: Acts different when test alert message is present

Hello, I have a text box function as below <input type="text" onkeypress="return onEnter(event,this);" onBlur="return chkForDBCS(this);"/> function chkForDBCS() check if a DBCS(mainly for japanese char) is entered in the text and throws an alert message and clears the text box. function onEnter() submits the form. When i have t...

require javascript confirmation like alert()

Is there anyway to create an alert box, but with a more modern style? When an alert box is issued, the user can not use the browser until it is acknowledged (enter key or click OK). I would like to lock the browser in the same fashion, however use a custom made, better looking alert box. Is this possible with javascript? Thanks Edit: T...

how to Alert integer values in Flex?

Hi, How can I alert an integer value in flex. I have a variable called total which is an integer. If I try to alert it using var total:int=myTest.length; Alert.show(total); it throws an errors saying that 1067: Implicit coercion of a value of type int to an unrelated type String. the show method accepts only string values. How c...

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 ...

Reminder Alert as in google for asp.net mvc

I need to show a message to the online users as alert popup like reminders in google calendar. Can we use any background process like web service/windows service to achieve it? Or is there any reliable way to do it? ...

show javascript alert from controller's action in asp.net mvc

Is it possible to show a javascript alert message from controller's action in asp.net mvc(C#)? ...

Javascript: Why is my code alerting to nothing?

I've written the following: var pages=["[www.facebook.com] Facebook is cool. ","[www.bbc.co.uk] British broadcasting corporation. "]; function findScoreC2(s){ var scores=[]; var percentageScores=[]; var contentsArray=[]; s=s.toLowerCase(); for(i=0;i<pages.length; i++){ contentsArray=pages[i].substring(pages[i].indexOf("]...

How do I pop up an alert in Javascript?

How do I pop up an alert in Javascript? I tried alert"HELLO" but that didn't work. Can someone tell me the correct syntax? ...

calling the user attention outside of app

I want to create an alarm app for myself. On certain conditions (i need to poll websites) i want my app to inform me and make it HARD TO MISS. So i can take appropriate action or ignore it if i need to do something else. I wrote a test app and using a BalloonTip (ShowBalloonTip with notifyIcon) isnt great. One of my previous apps brings...

Link in Javascript alert

I want to put a link in a Javascript alert. Is this possible? (I've searching for a solution, but I keep getting things about links that fire alerts!) ...

Window is not maxinizing/being brought to front after being in tray, why?/help

I wrote an alarm app with some complex code i dont feel like breaking up right now to use as an example. I have a timer checking every 10 or so minutes about a state online and on certain conditions my app alerts me. On form_load i set the timer to 10mins and when it triggers and the condition is true i call a function with this in it. ...

How to turn off the sound of alert(), or is there any good alternative in Jquery?

How to turn off the sound of alert(), or is there any good and simple alternative in Jquery? ...

JavaScript: Alert when user exits site?

My boss wants our site to show an alert if a customer tries to exit the site with items in the cart. How can I show an alert when the user tries to exit our site? Also I don't want to show the alert if they are just navigating to another page on our site, but only if they are navigating completely away from our site. P.S. I am not usin...

PushNotification Alert Title

Hi All, By default the Alert view title in the PushNotification displays the "Bundle Display name" from info.plist. Is is possible to change the AlertView title ? Thanks ...

Is there a way to output definition of a function in PHP?

function func() { .... } I have the function name "func",but no its definition. In javascript,just use alert() to see the definition. Is there a similar function in PHP? Anyone knows about this? ...

iphone sdk: Movie Player problem!

Hi guys What I'm trying to do is to play videos in MPMoviePlayerController. I hooked it with MPMoviePlayerContentPreloadDidFinishNotification to check if it succeeded or failed. Whenever I try to load broken urls it gives me an alert saying "the server is not correctly configured". Now I want to change this text to something else or h...

Disable IE menu while displaying a custom dialog

Is there a way to disable IE's UI (e.g. the File Menu) when showing a custom dialog/window? What I'm after is similar to what happens when you alert() something: the browser UI cannot be interacted with behind the alert box. ...

iPhone How to programmatically handle SMS/Call alert notification

I'm having some problems with SMS alerts and call notification freezing up the video player. I'm currently displaying a video using MPMoviePlayerController with movieControl Hidden. I'm also overlaying a subtitle using UITextView on top of the video. However whenever a SMS alert popup, the video will freeze up but the textView will con...

Adding An AlertView At viewWillAppear, iPhone

Hello all, I am attempting to show an alert view as soon as the view appears (without using a button). In viewcontroller.m I have: - (void) viewWillAppear:(BOOL)animated { UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"User Information" message: @"Hello" delegate: self cancelButtonTitle:nil otherButtonTitles:...

how to temporarily disable email notification while updating items in code?

Hi all, I am having trouble with temporarily disable email notification while updating items so the system will not send out any unnecessary email. What I am trying to accomplish is that disable alert, updates item, then enable alert back. SPList tasklist = Web.Lists["Tasks"]; tasklist.EnableAssignToEmail = false; //This property...