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...
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",...
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...
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(...
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...
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();...
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...
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...
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...
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...