Questions tagged as 'javascript'

2
answers

Validate field after typing

I'm using the Bootstrap Validator , the form validation is working very well. However, I wanted the validation of the nome field to be executed only when the user finished typing. The validation of this field makes a request ajax...
asked by 30.07.2017 / 23:22
3
answers

Show or hide a div according to the selected option

I'm working with a registration system, where all employees will be registered, but not everyone will have access to the program. For this, I'm using a select with the level of access it will have. <div class="form-group"> <labe...
asked by 05.09.2017 / 15:18
1
answer

Javascript field validation in JSP

function validar() { var nome = document.getElementById("nome_passageiro").value; var data = document.getElementById("dt_nascimento").value; var cpf = document.getElementById("cpf").value; var modelo = document.getElementById("mod...
asked by 08.09.2017 / 20:27
1
answer

Hide validation message after submission of the form, AngularJS!

I have a form with validations in Angular but when I send it I give%% to delete the inputs, but when I do this the validation alerts appear. How do I send the form, the fields are cleared and the messages do not appear?     
asked by 05.09.2017 / 18:03
1
answer

How to get a string from a json?

I'm developing an application and need to save in a string type variable that comes in the server json. How to solve? export class InicioPage { users : any[]; vaga : any[]; nomes : boolean = true; elementType : 'url' |...
asked by 07.09.2017 / 00:31
1
answer

Onclick on Marker in the Maps API

Hello, how do I execute onclick on a marker of maps? My code is this: var marker = new google.maps.Marker({ position: myLatLng, map: map, icon: andando, shape: shape, title: beach[0], html: beach[5], zIndex:...
asked by 08.09.2017 / 19:32
1
answer

Values adjustment bar

People would like to know if there is any component ready on the internet that makes me an element similar to the one in the image below I would like to know the name of this component also so that I can know how it works and where I should find...
asked by 04.07.2017 / 20:34
1
answer

How is the .js extension file created that is used by the browser when opening web pages?

How is the .js extension file created that is used by the browser when opening web pages? I am studying a website already created to understand the system of functioning of the sites. In the archives of this site, when saving the complete web...
asked by 04.07.2017 / 22:25
1
answer

String string in Javascript

I'm developing an application in VueJS and on a screen I have two input's of time and are being saved in MongoDB as String. However the input only accepts in the time format and when I click on the grid and the inputs are filled with the data of...
asked by 06.10.2017 / 14:58
3
answers

JQuery does not execute correctly

I'm creating a sidebar that will contain some accessibility options. The big one is in parts the sidebar is working properly. 1st Clicking on the accessibility icon, the sidebar opens normally, if you click the icon again, it closes and click...
asked by 05.10.2017 / 15:42