Questions tagged as 'jquery'

0
answers

Fill footable table with JSON

Good afternoon, I'm trying to fill a table with JSON, the table is class footable, but I do not see the data in the table, this is my code: $('#tUsuarios').footable({ rows:[{"Email":"[email protected]","PrimerNombre":"Andres","Rol":"Ad...
asked by 12.01.2018 / 22:08
0
answers

Display grouped query data in Hightchars

I want to be able to show on a Highcharts chart the result of the following query with Json: process_combustible3.php $MES_ACTA3 = $_POST['MES_ACTA3']; $ANO_ACTA3 = $_POST['ANO_ACTA3']; $resultado7 = []; $query= "SELECT PLACA, SUM(VALO...
asked by 24.01.2018 / 13:34
0
answers

Uncaught TypeError: Can not read property 'classes' of undefined

I'm getting this error in the console when I installed the "datatables" library with npm. Uncaught TypeError: Cannot read property 'classes' of undefined at Object.o.2 (main.js? [sm]:2408) at r (main.js? [sm]:1) at main.js? [sm]:1 at Object.o....
asked by 15.01.2018 / 11:28
1
answer

Have a select selected with jquery

I have this function that depending on the value that I put in my select "DurationTurning" shows some things or others. Everything works to perfection, the only problem is that in one of the if I have that if it has the value '16: 00 'hours sele...
asked by 14.01.2018 / 13:53
1
answer

Problem in obtaining the value of all the rows of a jquery datatable

I have the following piece of code that what it does is get the value of column 0 of all the selected rows of the datatable and display them in an alert: var dataArr = []; $.each($("#tablaDatos tr.selected"),function(){ //get each tr which has...
asked by 15.01.2018 / 13:46
2
answers

TypeError: $ (...) .dialog is not a function

My error is as follows: I have a modal window that works, that window has the following code: $(document).ready(function () { $('.accesori').click(function () { var id = this.getAttribute('id'); //alert(id); $.get(...
asked by 12.01.2018 / 12:10
0
answers

Iframe with http and parent with https, rejects the content being the same domain

I am dynamically entering an iframe on a div, and have to load an HTTP content with a local path ( link .). This is the function. function pasteIframe() { let ifrm = document.createElement('iframe'); ifrm.setAttribute('src', 'http://1...
asked by 15.01.2018 / 15:42
0
answers

Send modal form to $ .ajax

Hi, thanks for your help. I have a modal form that gets the values of a Mysql query. But I can not pass the modal form values to the file update data by $.ajax() . I have searched a lot, but I am a beginner and I do not find the way, I wou...
asked by 15.01.2018 / 15:44
0
answers

Unzip ZIP file in Cordova

I have an application with cordova for android in which I want to unzip a file .ZIP To do this, use the following code but the plugin cordova-plugin-zip of cordova, but when executing, send me an error and the text...
asked by 15.01.2018 / 15:59
2
answers

How can I change values of a select using JQuery?

What I want is that when I press the buttons that are yellow, the select will change depending on the button that you press, for example if I click the antiparasitic button, the select should change to antiparasitic and so on. I add my jqu...
asked by 11.01.2018 / 17:50