Questions tagged as 'jquery'

0
answers

SQLite with phonegap

I am trying to develop a multiplatform application based on Apache Cordova and Phonegap. To start I'd like to have a local BD that is larger than 5MB, which is what offers phonegap and its localstorage. Therefore, I have tried to introduce th...
asked by 06.08.2018 / 06:45
2
answers

Ignore hidden input in a form

I have a problem because I do not want to validate a field in a form being hidden but nevertheless if you validate it and I get an error. My .html would look something like this: <div th:id="'valorVariable2' + ${iterStatus.index+1}" c...
asked by 06.08.2018 / 06:42
0
answers

Pass variable from js to twig

I am trying to pass a variable from js to twig in the following way: <script> $('.li').on('click', function(){ var that = parseInt($(this).attr("id")); confirm("Estas seguro?, OK para continuar.", function(){ document.location...
asked by 06.08.2018 / 19:12
0
answers

Send an input file by JQuery PHP

I need to send a form by JQuery using $ .post, the other input is sent correctly but the input file is not. This is the form: <form id="servicioNovip" method="post" enctype="multipart/form-data"> <input id="nombre" name="nombre"...
asked by 30.07.2018 / 16:09
1
answer

fill out a form automatically

In a TypeText input I look for a match by name within a table in a db of what the user types in that input. In the controller I receive the values of what the user writes ( $ term ) as follows: public function jqueryWithAction(Request $reque...
asked by 31.07.2018 / 19:06
1
answer

Multiple ajax when creating a jquery module

I have created a module / plugin in jquery. This creates a select and inserts the options taking the information by ajax. The problem is that when creating 2 selects he makes me 2 ajax calls. (function ($) { var property = { calendars:...
asked by 02.08.2018 / 10:55
2
answers

How to edit nested Selects jquery?

Hi, I have this problem with two nested select2s (one depends on the other), the first thing is that I filled a datatable.net with the data and I passed them through oneclick to be able to edit them: EditarTrabajador = function ( CodOficina, D...
asked by 02.08.2018 / 14:56
0
answers

Reload jQuery DataTable with select

I have a DataTable with several elements, with a select I'm choosing all the values in column 0 depending on the value that the select has: $("#idArticulos").change(function () { var opcion = $(this).find("option:selected");...
asked by 25.08.2018 / 19:28
1
answer

How to pass object to javascript function in onclick event?

from a list of objects, go through each, and for each row, pass the complete object to a javascript function, where you can access the data and eventually convert that object to json. In my attempts I only get [object]. The idea is to pass th...
asked by 12.09.2018 / 21:57
0
answers

How to add 1 in 1 the value of a property of an object, jquery?

In this way I create a dynamic content of which I create an object that will help me to add their properties and visually show this amount. var listado_ofertas_adicionales = $('.listado_ofertas_adicionales'); valCarrito = response.data; $.each...
asked by 12.09.2018 / 22:09