Questions tagged as 'jquery'

3
answers

Help with a for .each in jquery

Hello everyone my question is the following I have an input that can be 1 to N depends on the php forech and with that PHP I put the name and ID, in my JS what I want is to know their ID of each one bone if it brings me one, capture the input ID...
asked by 08.05.2017 / 16:41
2
answers

Go through JSON with JQuery [duplicated]

Good morning I'm using a Youtube API that returns the next JSON { "kind": "youtube#searchListResponse", "etag": "\"m2yskBQFythfE4irbTIeOgYYfBU/Ecs31oUVfbCGmEm5at5VxfPVF28\"", "nextPageToken": "CAUQAA", "regionCode": "MX", "pageInfo"...
asked by 04.05.2017 / 22:14
1
answer

Returns me undefined

Good, I have a form that through AJAX and PHP I make a query to my BD to return some of the data, the problem is that it returns undefined when I try to paint in query a data of the JSON array, I have looked at the debug of the browser and in PH...
asked by 05.05.2017 / 09:27
2
answers

Create and browse an array in jquery with foreach?

How can you create a multidimensional array that contains keys and then traverse it with foreach. It's because I have an array with data in php and I want to return it with ajax to jquery. I have this and it does not work. And I want to do i...
asked by 04.04.2017 / 18:46
2
answers

Create .click triggers inside a for loop

I have the following code: $(document).ready(function(){ console.log($("body").find("form label input")); //da un objeto, una lista, con los diferentes inputs dentro del label dentro del form for (var i = 0; i < $("body").find("form l...
asked by 28.04.2017 / 00:46
1
answer

Problems with the object that jQuery generates when selecting several elements

I have the following code: function toggleInputs(tipo, este) { if (tipo == "checkbox") { if ($(este).prop('checked')) { $(este).parent().addClass("palomeado"); } else { $(este).parent().removeClass("palomeado")...
asked by 28.04.2017 / 15:02
1
answer

How to intere jquery with angular [closed]

I use ui-router with Angular and I would like to integrate the 2 but I can not find how to do it. The problem is that when I use a ui-router route the jquery code stops working.     
asked by 24.02.2017 / 17:43
2
answers

How to give value to a data taken from a serializaArray and send it by AJAX?

I have a tabla called 'individuos' , it has basic data like (id, no.identificacion, nombre completo, depen_serial(INTEGER)) among others ... (to avoid any 'wrong' comment, this is how it is stipulated :: ..) depen_ser...
asked by 07.03.2017 / 16:06
1
answer

Obtain data- from a checkbox and when selected show data value- in a [duplicate] input

I'm doing an office booking website (PHP, MySql), to book a time it shows a table where the start time, end time, availability and price, every hour has a checkbox at the end to select it, all right up there, what I need is that when you click...
asked by 06.03.2017 / 03:51
3
answers

How to change my icon by clicking jquery DATATABLES?

I have a table which I have put an image as an icon (+) <--"abrir" , which when you click there throws me a child.rows showing more information, what I want is that by clicking automatically I change the image or icon for (-)...
asked by 01.03.2017 / 15:00