Questions tagged as 'alert'

1
answer

Issue an ALERT for a UNIQUE field in Mysql

I have a field in the DB set to Unique, to avoid duplicate registration. It works perfectly. I would like to know if there is a way to customize this message with an Alert, for example. My code: <?php require 'conexao.php'; $nome...
asked by 12.06.2017 / 21:10
1
answer

Trying to make alert on every page href but only one is displayed

I'm doing some testing and I came across one this very annoying error. It's easy to explain: I want JQuery to give alert to all <a> of the page, but it only alert once and nothing else. Let's go to the codes: <...
asked by 21.02.2016 / 21:18
0
answers

Use custom alert in javascript

I'm trying to use something other than the default javascript alert and apparently switching syntax does not work. For example, this code works. $mysqlInsert = mysqli_query($conexao,$sqlInsert); if (!mysqlInsert) {...
asked by 04.10.2015 / 22:23
2
answers

Login inside the javascript alert

Can you login with a unique user and password within an alert? I want it to be a type code, I just do not know how to put 2 prompt in msm popup     
asked by 22.09.2016 / 20:57
1
answer

Code for window flap / window / browser tab

Good afternoon, as I'm not good at javascript, so I need the masters here to help me. I'm building a system via a browser for a company. In this system will happen several events, and as I wrote in the title, I need a code so that when the user...
asked by 18.04.2016 / 20:30
1
answer

How to confirm if user exists with those "green ticks"

They say it's with javascript, but I searched the net and did not think anything related ... Example of how I want it to stay: Currently I do with Alerts, but I would like validation to leave a green light like that of the image (see ri...
asked by 03.04.2016 / 21:02
1
answer

Display an alert box when loading page

I'm working with Angular and need to display an alert box when loading a component's html, however I can only do this from a button click, however I need the alert to open as soon as the page loads , without the need for interaction with any obj...
asked by 05.11.2018 / 12:17
1
answer

How to use the setTimeout () method to delay the appearance of a Javascript alert?

Good afternoon, right now I'm developing a javascript, html and css project. it is the Game of the Rooster, the game works only that I need that the warning of victory or of tie only appears after the X or the O. And what is happening is that th...
asked by 18.01.2018 / 17:23
1
answer

Show alerts in a Console Application C # [closed]

Already notice that maybe my doubt is very primary, but come on ... I'm doing a console-type project in C #, but I'm having trouble displaying error alerts. What I wanted to do was leave a separate part of the console for alerts, and when the...
asked by 08.08.2017 / 13:49
2
answers

PHP and Javascript - Show alert without refreshing the page

I have a button on my page that sends e-mail with some information filled out. However, if two of the fields are empty, the browser gives an alert warning (indicated in the code below in ALL). <?php if(isset($_POST['btnEnvia'])){ $unida...
asked by 28.10.2015 / 17:35