Questions tagged as 'jquery'

2
answers

an element disappears but does not appear again. Why? fadeOut () fadeIn ()

I have a text that when I click on a button I want it to disappear, replace it with another one and reappear, for that I use the fadeOut and fadeIn functions of jQuery. The problem is that clicking on the button sometimes works correctly but in...
asked by 04.03.2018 / 15:39
2
answers

Compare elements of an array in javascript

I would like to know how to compare the rows of a matrix. This is in order to verify if the rows all the elements of the row are multiples of themselves. It is clear to me that one number is multiple of another when the result of its module is 0...
asked by 04.03.2018 / 03:17
2
answers

Export data csv with PHP, Jquery

The HTML code is: <input type="text" class="form-control" id="from_date" name="from_date" aria-describedby="basic-addon3"> <div class="input-group mb-3"> <input type="text" class="form-control" id="to_date"...
asked by 06.03.2018 / 11:56
1
answer

Consume jQuery functions from another file

I tell you, I'm trying to make a '' library '' of jquery functions so as not to reuse so much code, and to begin with, I'm trying with the following function. jQuery.fn.soloNumerosDecimales = function () { return this.each(function () {...
asked by 05.03.2018 / 19:30
2
answers

validate several input that its value is greater than 10 (mask)

I have a form with many inputs to enter phone, in all its value must have 10 digits I am using a maskara and I add a validate classTelephones to all input for phone, I do not know why I print 16 or 1 in the console . $('.validarTelefonos')...
asked by 05.03.2018 / 20:19
1
answer

Validate a text box with Jquery Plugin

The question I have is how to make it so that in a text box where a name will be entered, the user, no matter how hard he tries, can not enter numbers in the text box, I want to do it with Jquery without using methods or functions. I have a c...
asked by 06.03.2018 / 05:37
1
answer

How to obtain the fields of the selected row and store it in an array?

I have a table with some data, I need to get the values of each input of each selected checkbox, and store it in an array or a json to be able to send it with ajax. The question is that I can go through the selected checkbox but I can not get th...
asked by 06.03.2018 / 23:02
1
answer

Jquery dependent values in several rows

I have a button that adds, on the one hand, a row in a table with fields to fill. Also, with the same button, a row is added to another table, where some dependent data of the first table is completed. The problem is that when you add two rows o...
asked by 05.04.2018 / 22:09
1
answer

group json according to data

Hi, I hope you are well, I have a problem which I can not solve. having the following json I want to group by ** state * to then create a new example: [{ "area": "YUMBO", "state": "NOT" }, { "area": "ZARZAL",...
asked by 01.03.2018 / 03:48
2
answers

Paginacion en JQuery

My website will be based on doing activities and every time you finish an activity you will automatically be asked which NickName you want to appear on the Results page (where the Nick will be, what activity it is, the note and the date)....
asked by 01.03.2018 / 00:43