Questions tagged as 'jquery'

2
answers

Parallax effect when mouseover

I'd like to know how I make this effect that on this site or otherse . When I move the mouse over the image it moves. An important detail is that it does not matter where I mouse-over, the image always has to move the second link thi...
asked by 04.05.2015 / 20:00
4
answers

Function has real-time screen, lock the screen with time!

I'm studying ajax, jquery and php. And with the goal of making a screen that loads automatically, for future chatting. What I want to understand is the screen loading function. I have the index.php code <!DOCTYPE html PUBLIC "-//W3C//DTD...
asked by 24.08.2017 / 20:03
4
answers

Minimum amount of jquery

I need a jquery code that when clicking on submit it will appear an alert and will not let the user continue unless you have typed 10 characters inside the input <form action="add.php" id = "form" method="post"> <div class="row"&...
asked by 24.01.2018 / 19:40
2
answers

Add + 1 to the current number (Jquery)

Hello The following function, should add + 1, to id current, however, is not working, as opposed to adding, is adding + 1. Example: If the current ID is 1, using the function, the next ID ( 1 + 1 ) should be 2 ; however...
asked by 12.09.2017 / 16:29
3
answers

How to get the value of each TD within each TR dynamically using jQuery?

I have the following sample HTML: <tr> <td>Futebol</td> <td>Campo</td> </tr> <tr> <td>Volei</td> <td>Quadra</td> </tr> <tr> <td>Tenis</t...
asked by 28.02.2018 / 13:33
2
answers

Problem getting textbox value with jQuery

I have a function that needs to get the value of the textbox to perform a validation and if this validation is true enable the datepicker. But when not taking value from the textbox. When giving an alert in the textbox, it is showing "Undefined"...
asked by 28.08.2015 / 21:11
3
answers

Remove TAG with JavaScript

How do I remove an HTML tag using JavaScript? For example, with insertAfter (); and the insertBefore (); I can insert some tags if I want. But if I want to erase from my code, some TAG? Not by display: none, I want to delete myself. I foun...
asked by 12.05.2017 / 21:03
3
answers

Help with Json filter with jQuery

I need help with the filter in Json with jQuery, I have this code: var chamaFiltro = function(horaminida){ var pesquisa = { idamin: horasParaMinutos(horaminida) }; var filtrados = json.aPesquisa.filter(function(voo) { voo = JSON...
asked by 19.06.2017 / 20:34
2
answers

Tooltip Bootstrap 3 disappear when I click on another

I have 3 tooltips. I want them to appear in the click, so I used the following: $('[data-toggle="tooltip"]').tooltip({ trigger : 'click' }); So, when I click on the first one, for example, it displays the tooltip. However, I...
asked by 26.05.2017 / 19:42
5
answers

Reading and manipulating json data using jquery

They say Json is simple. But I'm sorry and very sorry. Next code: $(document).ready(function(){ $.get( "http://meusite.com/", function(data) { console.log(data); }); }); the result the console.log is [ {"id":"769",...
asked by 30.03.2016 / 21:50