Questions tagged as 'jquery'

2
answers

Delete an element of a specified div

It has the following code in html: <div id="lista"> <p>Antonio Carlos Almeida Filhos</p> </div> How could I exclude this paragraph only from this div without deleting other paragraphs on the page....
asked by 29.11.2017 / 13:54
4
answers

How do I validate the radio input of my code?

$(function() { $("#btn").click(function() { $("#c1").css("background-color", "white"); $("#c2").css("background-color", "white"); $("#c3").css("background-color", "white"); $("#c4").css("background-color", "white");...
asked by 01.12.2017 / 20:07
3
answers

pass the form name to jQuery

I have the following function that sends a form: function enviar_formulario() { document.search.submit(); } When I want to call the function I do this: <select name='busca' onChange='enviar_formulario(search)'>...
asked by 17.11.2016 / 13:52
3
answers

Combining arrays

Well, I'll try to explain a little better as you asked. I have 3 arrays simple, I'm using an example with 3 arrays , but in fact the arrays number is not set, since they are set from the user's choices, so I can have 2 to...
asked by 19.10.2017 / 21:13
2
answers

Jquery click action does not work with duplicate items

I have two buttons on my page that serve to delete users, one I placed at the top of the table where it displays the users along with the paging and the other at the bottom, also along with the pagination. I put it like this to facilitate user b...
asked by 12.10.2017 / 21:07
3
answers

Go through inputs with jquery and check if there is a certain class in the input

I'm getting the inputs with the code var itensTabelaPresentation = ('#tabelaPresentarion > li'); and would like to go through them and go check if they have a certain class, how do I do this in a foreach? <ul class="nav nav-ta...
asked by 20.10.2017 / 19:24
2
answers

Modal window does not work correctly when you click YES

I'm having some trouble with the following Jquery code: JQUERY $(document).ready(function(){ $('#modalLogout').click(function(){ $('#yes').click(function(){ function time() { $(...
asked by 24.07.2015 / 21:27
1
answer

error in sending data via ajax

I am not able to send the data to mysql via ajax, I do not know what part of my code could be wrong. My index on which categories are listed from the database via jquery. <div class="container"> <h1 class="restaurant-title...
asked by 02.02.2017 / 20:57
1
answer

Execution of jQuery Script

I have a progress bar script, I would like the progress bar fill animation to start as soon as the user scrolls the page to the animated elements. I tried to use $('.progress-bar').scroll(function() { etc... , but every time I use the mous...
asked by 14.01.2017 / 00:18
3
answers

problem filling out form with capital letters

personal in my site the user when he is going to register in my site the fields where he type text he can type in uppercase and this generates a BUG on my site there in the panel would like to know if there is any validator that does no...
asked by 09.06.2017 / 14:29