Questions tagged as 'jquery'

1
answer

How to receive ajax data in a vector?

Hello everyone, I'm trying to do this, but without success: HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <section...
asked by 22.04.2018 / 04:25
1
answer

How to create a filter between two dropdowns using jquery

I have two dropdowns (state and cities) do not select "status" I have the options of two ex states: <select name="state"> <option value="NY">New York</option> <option value="LA">Los Angeles</o...
asked by 11.10.2018 / 11:55
1
answer

List CRUD with JQuery

I am creating a list of items with JQuery that is rendered on the screen according to what is typed in the input. To display the on-screen element (item name, change button, and remove button) javascript adds the value typed into an array of...
asked by 08.04.2018 / 17:45
1
answer

Retrieve input file to pass as date in AJAX

I'm developing an application in which, for reasons of aesthetics, I needed to recreate some elements in order to be able to customize each one, especially <select> and <option> correctly. So I need to pass the form...
asked by 17.01.2018 / 16:58
1
answer

Generating PivotTable with Jquery

I have the following problem, I'm doing a search field, to search by the name of the client, so far so good, I was able to bring the clients but they are in an array, my problem is how I divide each client into separate line I want to do this...
asked by 16.04.2018 / 20:19
1
answer

Remove Event / Function - jquery

I have the following function: function paper_collapse() { $(".collapse-card").paperCollapse(); } This function is always called when the page loads. $(document).ready(function() { paper_collapse(); }); Now, through a click...
asked by 18.01.2018 / 14:36
1
answer

Difference between .closest () and .find ()

I'm trying to get the .text() value of an element in DOM by the name of its class , when searching, I saw that jQuery provides at least 2 element by its class : The .closest , which according to what I understood from your...
asked by 17.01.2018 / 17:46
1
answer

Validating dynamic fields with Jquery.validate ()

I'm having trouble validating fields in a PivotTable using the jquery.validate () plugin where input are sequential. JS $("#addLinha").on("click", function () { // ADD QTD DE LINHAS INFORMADAS NO INPUP var n_prod = $("#n_p...
asked by 06.03.2018 / 14:52
3
answers

Scroll array until you find a certain index

I have the following code JS : var botao = document.querySelector('input[type="submit"]'); botao.addEventListener('click', function(e) { let form = document.querySelector('form'); let ipt = { nome: form...
asked by 05.03.2018 / 16:57
1
answer

Customizing the Autocomplete UI JQuery

Hello! I put the autocomplete ui jquery on my system, it's working as it should, but I wanted to edit the look of it. For example, putting a background color in the suggestions that appear and not allowing the creation of a <div>...
asked by 06.03.2018 / 18:08