Questions tagged as 'javascript'

3
answers

Popular table in page load

Hello. I am creating a people registration page, with each click on the save button, a csv file is generated, which on the next page loading should be used to show the already done entries on the screen, so that the user can know who has already...
asked by 16.07.2018 / 15:25
1
answer

Javascript - Compare input field with mongodb field

Can anyone give me information about this? I'm trying to learn or else demonstration with explanation What I want to do is to have input in html and go get the value of this input to check if it exists in a particular collection and if it exi...
asked by 29.06.2018 / 16:49
1
answer

How to give Enter and change the field in an HTML form?

How do you go about an HTML form that changes from one field to another when you press the Enter key? (It naturally changes by pressing TAB.) There is already a topic related to this subject, however, where to put the code in Javascript? Is...
asked by 28.06.2018 / 22:43
1
answer

How to capture the id of each row in a scrollable list?

I have a list of 200 lines, and each line has its id. I would like to capture with the javascript, the id of each line when descending the page. The list is set up like this: <ol id="noticias"> <li id="geral" class="area">...
asked by 30.06.2018 / 03:38
1
answer

Function does not recognize hidden elements

I have a function, it works perfectly, but I need to hide the fields, which do not need to appear for the client, but when hidden, the function does not receive the values, <div class="col-md-4" id="fim"> <label id="lblFim" clas...
asked by 04.07.2018 / 16:45
1
answer

How to use Javascript with Bootstrap4?

I'm doing my front end with Bootstrap, I want to use js for events like onclick, for example. Ifyoucannotseetheimage(shortversion):<html><head><title>AgileHub-Parafernalia</title><metacharset="UTF-8"> <li...
asked by 04.07.2018 / 17:16
4
answers

Problems with jquery click

I have the following code: <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> $.getJSON('livros.json', function(data) { $.each(data, function(i, item) { console.log(item.na...
asked by 04.07.2018 / 19:02
1
answer

How to adjust image in the container

I have a 1220x780 image and I want to put it in a 341x192 container, how do I make it appear adjusted, centered, in "miniature", I'm using max-width: ; max-height:; width: auto; height: auto; But it does not fit horizontally     
asked by 25.06.2018 / 19:31
1
answer

JavaScript generating characters that are not present

The code below is in XML and is a form that is being used for convenience generating code HTML , everything typed in input will be sent to textarea already with HTML through javascript The checkbox is scr...
asked by 25.06.2018 / 20:00
1
answer

Clear input - ng-model - change

I have md-select where according to the selected, I create some div's using ng-if . These created divs have in 02 of them, equal models (ng-model). Therefore, when performing the md-select switch to another that has the same model,...
asked by 27.06.2018 / 13:54