Questions tagged as 'ajax'

0
answers

Get image from a server by Ajax

I have the following code: $.ajax({ url: urls, type: "GET", beforeSend: function(req) { req.setRequestHeader("Accept", "text/plain"); } }).done(function(data, textStatus, jqXHR ) { console.log(data); }); I d...
asked by 19.12.2018 / 01:03
1
answer

Error showing Json data

Why does undefined mark me when viewing the Json data? Code Javascript : function getNota() { var id_temporada = $("#temporadaVal").val(); var jornada = $("#jornadaVal").val(); $.ajax({ type: "POST",...
asked by 21.12.2018 / 20:11
0
answers

Help range field hour_date Mysql, AJAX

Good morning maybe someone can help me, I have the following problem: I'm running this query that allows me to get the value of the accuracy of the inventory, So far everything works well the query traps the data, but what I want is that by chan...
asked by 17.12.2018 / 15:05
0
answers

AJAX DOES NOT SEND THE DATA TO PHP

The idea of the code is to prevent the page from reloading when sending a form, I read that the best option is with Ajax, but when doing it with ajax, it does not send me the data I need to the php I am using. $(document).ready(function(...
asked by 21.12.2018 / 16:14
1
answer

Combo Box does not return the Select Data with AJAX

I have made a combo box that should return the bank account numbers of a bank, because a bank can have more than one account number registered, I am sending a query through AJAX to the database I have inserted an HTML in the option which shows t...
asked by 15.12.2018 / 15:21
1
answer

Problem when collecting an input with JavaScript of data collected with ajax

I have a problem collecting a number of an input that I have filled with ajax, the thing is that when I pick it up it is always returning 0. What can I do to get it back? $(document).ready(function () { eventosHoy();...
asked by 13.12.2018 / 12:03
1
answer

What url format do you recommend for use in AJAX / jQuery?

I have functions like the insertion of data in the DB that I do through AJAX, my problem is that when I put the url, I put it with www and http, it works in chrome and in Firefox, but not in IE nor Opera. What is this due to? Here I leave the...
asked by 17.12.2018 / 11:41
0
answers

When I try to print a datatable using an ajax and with the .html function I get the internal server error?

Well, my problem is that when I try to print on the tbody of my datatble, the string information I get from my sql server query marks the internal server error, but not always, only when the text string is very long, for example if there are 50...
asked by 11.12.2018 / 20:40
0
answers

When I make an ajax call it prints the web page and does not enter the function

I try to make a simple ajax call but out of nowhere I started printing the ajax call and it no longer comes to the webmetod and everything is correct, it did not move anything and it started to fail in that way. Ajax code function get...
asked by 11.12.2018 / 22:37
0
answers

Update table after AJAX success

I have a table in which a cell has the value 0 (inactive) and 1 (active) I update the values perfectly by ajax but if I give it to the same button it still sends the same value ... that is, I can activate or deactivate a record but then I can no...
asked by 11.12.2018 / 18:45