Questions tagged as 'jquery'

2
answers

Read Json with ajax with names without quotes

I am looking to read through jquery and ajax an object json from an external server. When making the request, the server returns a supposed json file with the following format: { Status: 'Success', Data:{ 'primero': {...
asked by 04.04.2017 / 20:43
3
answers

How to load HTML elements dynamically within a modal?

I am implementing several modal windows through Bootstrap. One for each different thing. I have done the test to load different data in the same modal window. I explain ... I have one to pick up favorite users, another for followers and an...
asked by 12.04.2017 / 01:02
2
answers

How can I make the screen automatically upload with js? raising the scroll 300px [duplicated]

Good morning; I have a few elements placed in a div, but I need that if you click on any upload the scroll automatically upload to the top of the screen, but can not find a function or any way to achieve this goal. Any ideas? Thanks.   ...
asked by 08.05.2017 / 17:25
2
answers

Enter formula with a for [closed]

I need to perform the following operation. Example, I have an array cantidad = [420, 940, 920, 850,970]; and% ancho = 4500 . The formula works like this: 420 + 940 / 2 = 890; 940 / 2 + 920 / 2 = 930; 920 /2 + 850 /2 = 885; 850...
asked by 03.03.2017 / 19:55
1
answer

Problems when closing pull-down by clicking [closed]

the first title shows and hides the other three. Click on the first title and show the other three ... first title disappeared. help help me. $(document).ready(function(){ $(".menu_item:nth-child(2)").hide(); $(".menu_item:nth-chil...
asked by 09.03.2017 / 14:15
2
answers

get the data from a list with jquery

Well that's my concern, through ajax I receive the objects in a list, listaConfiguracionSucursales = data.lista; I want to know if there is any way to get all the data of a certain field from that list, now I only receive a value of a given...
asked by 26.12.2016 / 21:50
1
answer

Jquery I have 2 document on click, and it only works if I remove 1

Hello, I have two functions, one that eliminates rows, and another that edits, this I carry out with $(document).on('click', function...); Function 1: $(document).unbind('click').on("click",".btr",function(){ alert('click');...
asked by 03.01.2017 / 03:12
2
answers

Why does not my project with JQuery work on github pages? [closed]

This is my first project using JQuery that obtains data from an API and shows them link It works well in codepen, but when I uploaded it to github pages the requests to the API stopped working link If someone knows why the projec...
asked by 24.11.2016 / 17:05
2
answers

jquery: $ (document) .on ("click" ...) executes the clicks of several selectors

Good morning, it turns out that the "click" events listen to both the selector that I'm dialing with $(document) and those that are above, even if they are not their children and are not called the same. To see it, I put the code of th...
asked by 12.01.2018 / 13:49
2
answers

Validate a Jquery calendar with a number of days in Select

Good morning: I have a variable that contains an example number $ por_disfrutar = 4; And then with a select I do a for cycle to go through those 4 numbers and I throw the following: <?php for ($i=1; $i <=$por_disfrutar ; $i++) { echo...
asked by 09.12.2016 / 18:11