Questions tagged as 'javascript'

1
answer

Remove one element at a time with Jquery

I'm using the Clone function of jquery to be able to replicate a div . However, removing these elements, regardless of the quantity that has been replicated, always removes the div by complete. I need it removed line by line. Form Code:...
asked by 19.11.2018 / 15:24
1
answer

Equal shadow effect on gmail login screen

How to do the same shadow effect by clicking on the show / hide password same button you have on the Google login. I have tried to do with the pseudo-element: before : focus but I did not succeed. const btn_password = $(".viewPasswor...
asked by 05.12.2018 / 19:47
1
answer

Read array elements and print them

I created an algorithm that received a single variable with 9 different records that would display these values typed in matrix form (table). But by displaying the result, you are only returning the last three values in three rows in a row....
asked by 11.12.2018 / 22:47
1
answer

How to run a hide in JavaScript from one part of the page to the other:

Sorry for the confusing question, I'll try to explain it better: I'm making a website, and I've used pages that fill the entire screen, and they center the content, one below the other. There is also a menu at the top, with a transparent back...
asked by 13.12.2018 / 12:50
4
answers

Compare if password is correct

How to create a simple JavaScript that only asks the user to enter the password 1234 so that the message released appears, if it fails 3 times to appear blocked account. My code so far: var senha; var senha=1234; senha=parseFloat(prompt("E...
asked by 16.12.2018 / 13:09
1
answer

Open mobile keyboard automatically

Currently I have the following block attached to the user action. $(".class-botao").focus() When the user interacts with the page the mobile keyboard is displayed normally. But in my application there is a method that checks if t...
asked by 13.09.2016 / 23:30
4
answers

How can I capture the name of an html form and put it in a variable in Javascript

I know how to do it with PhP but to catch a little bit with javascript, I wanted to use the "name" and "email" fields to put what the user types inside a variable name and another email within JavaScript. >     
asked by 03.06.2017 / 05:21
2
answers

Make a hidden form

I'm developing a basic CRUD, and I need it when the user clicks EDIT, open a form below, or the side, it does not matter, with the fields for it to edit such information, and when you click OK, the field disappears and show the edited fields. &...
asked by 29.05.2016 / 19:59
1
answer

Animation is not smooth

Oops guys I have a div that is my site header, I want to hide it by clicking a button and making it appear when clicking another button. I can hide it and the movement is the way I want it, but when it comes to showing it back it does not show t...
asked by 29.05.2016 / 03:21
1
answer

Creating javascript (factory) objects

Hello, I'm trying to create two objects of type person using Factory and on the first try I create the first element and the second attempt instead of creating the second element creates a new element , but with the same characteristics...
asked by 28.05.2016 / 16:41