Questions tagged as 'jquery'

1
answer

Navigation using keyboard arrows

I need to navigate through the DOM using the arrow keys. I can perform it when it goes only in two directions (up or down, front or back), but to move in the four directions I did not find a shape. I need this navigation to take into account onl...
asked by 21.08.2018 / 01:32
1
answer

Scrolltop does not work when I use the Body element and yes HTML

I have not found an answer to the jQuery documentation. When I use body element for the animate with the scrollTop property I want to animate does not work. Follow my code function scrollPlacar() { $('body').animate({ scrollTop:...
asked by 11.04.2018 / 00:29
1
answer

animation on the main page

It includes a start animation of my project (example "welcome") and then go to the main home, but in case it gets 2 together ... Is it possible?     
asked by 10.04.2018 / 04:28
2
answers

Input date ta in English

I made an input date from the bootstrap and it is in English, is there any way to get it in pt-br? HTML <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="css/bootstrap-datetimepicker.min.css"...
asked by 07.02.2018 / 17:19
2
answers

Determine the number of autocomplete items a textfield can allow

I want to, for example, inform 3 of the autocomplete values in a textfield, textarea, etc. The textfield should then only be left with this 3 values entered and will not allow typing more. How can I do it? I'm using the same example of this jQu...
asked by 31.01.2018 / 12:25
0
answers

Intersection of two collections of nodes with jQuery

I was trying to create a pseudo-search function by filtering Hugo's Taxonomy results does does recursion across all nodes, or rather, terms related to each other, something like this: |-\ Category 1 |-\ Subcategory 1 |-\ Item 1 |...
asked by 31.12.2017 / 16:06
1
answer

Validating the password with jQuery in steps

My scenario is as follows, I have a form and in it I need to do a password validation that must contain: At least 6 characters, At least 1 uppercase letter, At least 1 number. This validation I can do, however I have below the password field...
asked by 05.01.2018 / 13:20
1
answer

My js function does not want to stop

verificaseTemDado does not want to stop when I give clearInterval to success $('.arquivo').on('click',function() { setInterval(verificaSeTemDado,1000); }); function verificaSeTemDado() { verifica = $('.arquivo').v...
asked by 31.12.2017 / 04:21
1
answer

Upload data without referredh

I have a form passing the data by GET to an API, the method I put empty to load on the same page, when I get the data I put inside a div to display them, but I need to do this without refreshing the page , I need to just load the did with the da...
asked by 06.10.2018 / 19:42
0
answers

Control order of image load events

I need to load some images through the input file. So far so good. However, I need these images to be loaded in order. But when I put img.onload = function () {} inside of for, the order of variable i, becomes completely different, so the ima...
asked by 09.10.2018 / 22:42