Questions tagged as 'jquery'

2
answers

How do you declare and call a function with $ in Jquery?

I have this problem .. TypeError: $.slideShow is not a function I'm trying to call a function with the dollar sign $ , but it does not work. The statement is as follows. in my index.html file .. <script src="js/script.js"></scri...
asked by 22.04.2018 / 20:55
1
answer

Validate checkbox from positive to negative in table

I want to place 0 or 1 if the checkbox of the row is selected, it works fine when passing the 1 but that is when it is checked, otherwise it does not work to pass it zero, not putting $(fila).closest('tr').find('.inputvalor').val("0"); wi...
asked by 24.04.2018 / 01:10
1
answer

Pdf generated from datatable

I'm using link to build tables, with the same use the buttons to export data, although I got to read the documentation I can not find what next and I would like you to comment if it is possible or not: My table has buttons in materialize with...
asked by 24.04.2018 / 15:26
2
answers

How to paint a text choosing colors with checkbox?

I want to paint a text according to the colors of the checkbox $(document).ready(function() { document.getElementById("color1").addEventListener("click", pintar) document.getElementById("color2").addEventListener("click", pintar)...
asked by 04.03.2018 / 16:30
1
answer

Array is not preserved after AJAX

I have the following AJAX function that runs within for to check if certain data exist or not, if there is one variable is increased by one, if not, another variable is increased in one: si = 0; no = 0; for (var j = 1; j < parseInt...
asked by 25.02.2018 / 21:58
1
answer

Problems with Click and Keydown function

My problem is that it only works if I click on the button and if I put the keydown then it's time to do a tab on the button and hit enter. I want it to work by clicking the send button and giving enter in the field as the chats. some idea of how...
asked by 11.02.2018 / 20:23
2
answers

Wait for an append within a cycle

I have the following code, what I want is that I go through each one of the registers inside the array data and show it, put the state READ , then PROCESSED , finally DELETED and continue with the other until the end of the cycle, t...
asked by 10.03.2017 / 19:53
1
answer

Append from ajax

I have this AJAX $.ajax({ type: 'POST', url: "libreria.php?cmd=" + comando, dataType: 'json', async: false, data: params,...
asked by 07.02.2018 / 14:29
2
answers

Jquery - Load multi-image from input file to container

I would like to upload the selected images through a multiple input type = 'file' to a container in real time, that is, I select a series of images and once accepted the samples in a modal window. Googleando I have found code, which after mod...
asked by 01.02.2018 / 12:30
2
answers

Problem with selectable datatable rows

Good morning. I have a problem when it comes to obtaining the value of the selected rows of a datatable. I need to be able to select all the rows that I want (this is already working for me) and by pressing a button that shows me the value of...
asked by 15.01.2018 / 10:40