Questions tagged as 'javascript'

1
answer

Countdown in javascript

I have the following code which is to make a countdown over a cookie it will be redirected, but it is not printing on the page someone can help me var tempo = new Number(); // Tempo em segundos tempo = 300; function startCountdown(){...
asked by 24.04.2018 / 20:24
2
answers

Email validation with password with jQuery

I need to give you an alert when I give "all right" on my form. The situation is that I need to check without the email having "@" and "." and also along with this if the two password fields have equal values. Here's the code. $("#passo2_cad")...
asked by 24.04.2018 / 20:37
1
answer

How do login validation in angular4?

Expensive, good afternoon, I would like to know how to do to show an invalid user message or password in angle 4. '     Login     Hello! Sign in with your email <div class="row"> <div class="input-field col s12"> <di...
asked by 23.04.2018 / 22:37
2
answers

Show alert if no records found - Ireport

How do I get Ireport to send only one alert in case of no records found? You currently have one }else{ echo "Nenhum dado encontrado!!!"; So I get a page like this, would like to receive only one alert, not open a page, is it possible ?:...
asked by 24.04.2018 / 16:00
1
answer

Start Project Vue from existing template

Is it possible to start a Vue project from an existing template? I want to create a template with all the necessary dependencies and initial settings (as well as pages and etc), so that always, when making a new project, I can start from...
asked by 24.04.2018 / 19:50
1
answer

How to validate valid characters for latitude and longitude during typing?

I have a text input for latitude typing and another for longitude. I would like the field to allow typing only the characters valid for latitude and longitude. I believe the field should only accept numbers, "." and "-", correct? At fir...
asked by 28.03.2018 / 21:04
2
answers

Logical problem when assigning value using JS

As explained in the paragraph below, the objective is to create a betting game, so far so good, the Odd bet works perfectly adding the bet amount to the total points but the same does not happen with the Od bet it simply does not assign anything...
asked by 28.03.2018 / 18:30
1
answer

HTML TEMPLATE tag for code block repeats

In a .PHP document I have a .HTML stretch with more than 20 DIVs practically identical (see below code). I wanted a way to declare a DIV "repeteco" only once and where necessary repeat it throughout the document, just make its referen...
asked by 28.03.2018 / 20:33
1
answer

How to validate multiple Inputs of a questionnaire using pure JS?

As specified in the below p tag how should I go about validating so many inputs? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Exercicio-4</title> </head> <body>...
asked by 27.03.2018 / 03:04
1
answer

Increase Array with filter

I need to increment the item this.order[i].nome_service in the variable this.result only when clicking the checkbox, as well as decrement when unchecked. orders = [ {id_service: "1", id_empresa: "9", nome_service: "Servico 0...
asked by 22.03.2018 / 01:45