Questions tagged [alerts]
446 questions
271
votes
20 answers
Push Notifications in Android Platform
I am looking to write an app that receives pushed alerts from a server. I found a couple of methods to do this.
SMS - Intercept the incoming SMS and initiate a pull from the server
Poll the server periodically
Each has its own limitations. SMS-…

Vinod
- 3,209
- 4
- 20
- 18
143
votes
9 answers
Yes or No confirm box using jQuery
I want yes/No alerts using jQuery, instead of ok/Cancel button:
jQuery.alerts.okButton = 'Yes';
jQuery.alerts.cancelButton = 'No';
jConfirm('Are you sure??', '', function(r) {
if (r == true) {
//Ok…

Sushanth CS
- 2,412
- 3
- 23
- 23
81
votes
10 answers
Can Twitter Bootstrap alerts fade in as well as out?
When I first saw the alerts in Bootstrap I thought they would behave like the modal window does, dropping down or fading in, and then fading out when closed. But it seems like they are always visible. I guess I could have them sit in a layer above…

kreek
- 8,774
- 8
- 44
- 69
55
votes
2 answers
Alerts when navigating away from a web page
When I try to close my Google docs tab with unsaved changes, this is what I get in my browser (FF 3.5).
Are you sure you want to navigate away
from this page?
You have unsaved changes in this
document. Click Cancel now, then
'Save' to save…

Vijay Dev
- 26,966
- 21
- 76
- 96
41
votes
6 answers
Alert boxes in Python?
Is it possible to produce an alert similar to JavaScript's alert("message") in python, with an application running as a daemon.
This will be run in Windows, Most likely XP but 2000 and Vista are also very real possibilities.
Update:
This is intended…

UnkwnTech
- 88,102
- 65
- 184
- 229
23
votes
2 answers
When to use a UIAlertView vs. UIActionSheet
Are there situations where a UIAlertView is better to use than a UIActionSheet? What are the typical scenarios where you would use one over the other?
I'm programming a navigation bar button to open a UIWebView in an external application, and at…

nevan king
- 112,709
- 45
- 203
- 241
21
votes
12 answers
Wait for [NSAlert beginSheetModalForWindow:...];
When I display an NSAlert like this, I get the response straight away:
int response;
NSAlert *alert = [NSAlert alertWithMessageText:... ...];
response = [alert runModal];
The problem is that this is application-modal and my application is document…

dreamlax
- 93,976
- 29
- 161
- 209
18
votes
1 answer
How to design a calendar reminder/alert system
I have a calendar system in my web app. We need to implement reminders.
Are there any reminder/alert patterns or system designs, or best practices? If so or if not, what might be some ways of achieving this?
Design Considerations
Need to be able to…

richard
- 12,263
- 23
- 95
- 151
17
votes
4 answers
TFS email notification
When I add a bug (Work Item) in TFS, and assign it to a user, I want an email sent to that user.
Also if an existing bug has the "Assigned To" changed, I want that user to get an email.
Is it possible to send Alerts to users when they're assigned…

ijuyee
- 171
- 1
- 1
- 3
15
votes
1 answer
How can I disable javascript errors on "TWebbrowser"?
I am getting javascript errors popping up in some webpages I am browsing to.
Does anyone know how to disable javascript error boxes from displaying in a Delphi app using a TWebbrowser? or any other messageboxes?

Adnan M. TURKEN
- 1,554
- 4
- 21
- 36
14
votes
4 answers
Selecting sounds from Windows and playing them
I have a WinForms app. This app has a Preferences section where the user will be able to select which sounds are played when an alert is being displayed.
Is it possible to have a combobox where the user can select from the Windows stored sounds such…

Funky
- 12,890
- 35
- 106
- 161
13
votes
2 answers
How to open TFS Power Tools - Alerts Explorer
I have TFS 2010 and Visual Studio 2010 Ultimate and the April TFS 2010 Power Tools installed. I am a Project Collection Administrator on my TFS Server (so permissions should not be an issue).
I want to open the alerts explorer, but when I right…

Vaccano
- 78,325
- 149
- 468
- 850
13
votes
1 answer
How to prevent multiple Alerts in React Native?
Is there a way to tell if there was an Alert.alert() already on the screen before sending another one?
I have this function:
CheckInternet(){
if(this.props.json.undefined){
Alert.alert("Check your internet connection");
…

Luis Rizo
- 2,009
- 4
- 15
- 34
11
votes
6 answers
Is there a way to simulate a click on an alert in JavaScript?
I have a page with an iframe whose source page is in a separate domain. From time to time, the source page generates an alert. When it does so, it stops what it is doing until the user clicks OK to the alert.
What I would like to do is…

moffdub
- 5,284
- 2
- 35
- 32
9
votes
2 answers
Why does alert(); run before console.log();
How My Question is Different From Others
I am using ES6 syntax. The other questions I looked at uses ES5 syntax.
The Question
Why does alert(); run before console.log();? And can I make it so that console.log(); is executed before alert();?
My…

SantaticHacker
- 122
- 12