Questions tagged as 'jquery'

2
answers

How to read a JSON response from AJAX?

How about? You see, I'm learning ajax and json; while I was doing some tests, I have a question that I have not been able to clarify and I would like you to help me. I explain: I have a code where I make an ajax request to get certain informa...
asked by 26.04.2018 / 23:57
2
answers

Play sound when changing content in a table

I'm trying to create a function that will play a sound when some element of a table changes, I was trying it in the following way: $(document).ready(function(){ $("#hor-zebra").change(function(){ document.getElementById('bflat').play()...
asked by 07.11.2017 / 13:26
1
answer

Repeat javascript cycle

Good evening, I have this view (the image) which is part of an invoice, precisely this is the detail of the invoice, and I have in this detail a javascript function so that while I write the name of the product I search the product in the databa...
asked by 06.11.2017 / 04:03
2
answers

Browse div with class and show only the selected item

I want to show and hide a div, it is a list that has a class are 4 div, with the same class and the button that should show also has the same class, the problem I have is that with the function that I have it shows me all the div or just the one...
asked by 29.12.2017 / 00:04
1
answer

DataTables I can not modify the width of the columns

I'm making a table using Datatables but I can not change the widths of the columns. /*Modificar funciones tabla listado*/ $(document).ready(function() { $("#table_id").DataTable({ sDom: '<"top"fli>t<"bottom"p><"cl...
asked by 14.03.2018 / 11:14
1
answer

Can I upload files using php and ajax?

   Notice : Undefined index: photoProfile in C: \ xampp \ htdocs \ web \ profile.php on line 8 < br> When trying to upload a file using ajax I get that error and it does not upload the file, but trying to do it without ajax, and if it...
asked by 18.03.2018 / 01:19
1
answer

Input of type file to obtain value

I have a problem getting the value of my input : <input type="file" name="fileToUpload[]" id="inputFileServer" accept="image/png"/> In angular I have: var file = document.getElementById('inputFileServer').files[0]; console.log...
asked by 25.09.2017 / 21:38
2
answers

Problem when plotting with Highcharts and AJAX

I am trying to make a dynamic graphic, that I pass the data by AJAX, that when selecting a MES graph me according to result, it happens that in the browser console it shows me results according to the query but it does not graph me, and I...
asked by 26.09.2017 / 19:05
1
answer

Help Json Objects browse and display DOM JavaScript

I need help, I do not know how to get this out  If you click on a region you should appear next to the capital in red and below in different sub-lines all the populations ordered alphabetically (which you will ALWAYS get from the JSON) • Coma...
asked by 03.03.2018 / 16:04
2
answers

JqueryUI sortable: the thead and tbody shrink when you drag a row with two fields with none display

I have a table with different rows and fields, in a row I have two fields with display:none; and when doing a drag of this row, there is an effect like side padding in <tbody> and in <thead> , the table does not s...
asked by 15.11.2017 / 16:55