Questions tagged as 'jquery'

3
answers

How to fix error Uncaught TypeError: Can not read property 'V' of undefined [duplicated]

I am bringing a list in JSON format, I store it in a variable and it works fine, the problem is when I try to use it is variable in another side it appears Uncaught TypeError: Can not read property 'V' of undefined, the V is brought from the l...
asked by 28.06.2018 / 06:54
1
answer

select several checkboxes when filtering the result by AJAX

I need to select several checkboxes that are not together and put them in a input type text , I achieved that by filtering "states" and selecting them I put them in input . But when doing another search, delete the...
asked by 06.01.2018 / 00:30
1
answer

how to fix the focus on an input and select the content of this

This question may be absurd but it does not work codes that I found in search What I have is the following: $(".nota").focusout(function(){ var tx = $(this).val(); if(tx.length == 2){ alert("El valor ingresado no debe termin...
asked by 05.01.2018 / 17:21
1
answer

pass jquery field values to php and save them to database

hello everyone I have a situation where I have two documents request.php and guardianship.php in the file request.php I have a to add fields. var nextinput = 0; function AgregarCampos(){ nextinput++; campo1...
asked by 29.06.2018 / 19:10
1
answer

Problem closing tag with jquery (prepend, before)

$.each( elements, function(i, val){ $('#tbl').prepend('<tr>').addClass('tr'); $('.tr').before('<td>'+(i+1)+'</td><td>'+$(val).val()+'</td>'); $('#tbl').prepend('</tr>'); }); al...
asked by 17.07.2018 / 20:59
4
answers

Return array of objects by AJAX

I am developing a sales system, and in the ticket window I have the search button that allows me to go to another page with the list of articles. This consists of two buttons. One is adding that adds the product in question to an array of detail...
asked by 18.07.2018 / 19:38
1
answer

Help, How to manage the download of a file using $ .fileDownload from a controller?

I have a method that retrieves data from the form, and passes them as parameters to a service method to perform the query, this method returns a json response, and in the view sends me a message if there is data or not data in the query. Now...
asked by 14.06.2018 / 06:59
1
answer

How can I hide the contents of a li without it being displayed by pressing inspect in a browser?

I hide a <li style="display:none"> but clicking on inspect in a browser allows me to see its contents. I want that content not to be displayed when I click on inspect.     
asked by 14.06.2018 / 16:23
2
answers

Is it possible to save the selected number of records in a datable so that when you log in again it is the same?

As the question says, I'm looking for some way to save the selected records of a databtable, something like staying logged in from facebook. I explain myself in a better way: if I see the records of a table, initially I show 10, I mark the op...
asked by 14.06.2018 / 07:13
2
answers

Detect click on li, not on div

I have an application that displays a menu if we right click on the central div (#body), in this div there are files represented in a list <li> , each <li> has as id #fichero . My problem is that sometimes there ar...
asked by 13.06.2018 / 14:11