Questions tagged as 'alert'

1
answer

Assign HTML code to a Jquery alert

I'm using this alert, but I wanted to insert a text break window.alert("Não existe produto cadastrado no sistema! Para continuar devemos cadastrar pelo menos um produto"); I wanted to break the line after the exclamation, how do I get it in...
asked by 12.11.2016 / 21:41
1
answer

Alert auto close using Bootstrap

Using Bootstrap and created a save button on which you run a specific function selector() . This function will be executed only after saving in the bank, then it will show an alert that will disappear in a few moments. However it is only...
asked by 14.01.2017 / 17:25
2
answers

Message when the user is exiting the application

I know I can use AlertDialog for this, but without creating a button, only when the user is pressing the back to exit does an alert appear? Type, when it comes out (this involves the Android system in the part that does it alone) would a...
asked by 24.12.2015 / 00:48
1
answer

How to pass a "title" in a "UIAlertController" of type Int with swift?

Good afternoon, guys. I'm calling an alert in my code where I need its "title" to be the return id of a JSON, my json object has id and status, the id is of type Int, and the status is of type String, I tried to convert the id to string, but...
asked by 07.11.2015 / 21:29
1
answer

Is there a way to customize the function alert equal to the input required?

My question is somewhat specific, but I would like to know if there is a possibility of creating a message of alert with the default of the input required ? The situation is this: I have a linked div that will forward to another...
asked by 30.04.2018 / 16:21
2
answers

Is it possible to customize an alert?

Between an if and else I have a call from an alert to return a response to the user, since the alert layout itself is not very much in line with the site layout, I would like to know how I can customize it. if(ainput5 == false || ainput4 == fa...
asked by 11.06.2018 / 05:08
3
answers

Customizing JavaScript Confirm

Can you customize confirm() via CSS, or how to implement some modal in it? I tried using Bootstrap but the JS code stopped working: $(function() { $(".delete").click(function(){ var element = $(this); var id = element.attr...
asked by 19.04.2017 / 15:44
1
answer

Display Alert Loading Page

I'm using asp.net-mvc and as far as I know the OnLoad event would work if I put it in body, which is in ~ Layout, but I need this alert to be displayed on a single page, because if I put in body it will run all instead ... how can I do it? Vi...
asked by 20.11.2016 / 20:40
1
answer

Execute function after loading page with Angularjs

I'm trying to execute a function that gives an alert on the screen after it is loaded, however, I'm not having success with ng-init because using ng-init it gives the alert and the screen goes blank and only click after clicking the 'OK' button....
asked by 26.04.2016 / 16:28
0
answers

Alert Scrollbar - Ionic

Good Afternoon I would like to know how to shoot the alert scrollbar presentConfirm () {     let alert = this.alertCtrl.create ({       title: 'Exiting the Application'       message: 'Are you sure you want to exit? ', buttons: [ {...
asked by 07.06.2018 / 18:25