I have two functions
First function:
sendRequest: function () {
jQuery.ajax({
type: 'POST',
url: xtremeSearchUrl,
dataType: 'json',
async: true,
data: JSON.stringify(data),
success: function...
I'm trying to pass several variables taken from a calendar from jquery as soon as you click on a certain date in the calendar.
When clicked, throw the date into an input with id="my_hidden_input"
$('#datepicker').on('changeDate', function() {...
Well it happens that I want to add a gif Loading and run every time I click on the link, after a certain time I load the page, the gif should be centered and add a kind of dark background to the whole body , I'm using codeigniter, please help me...
I have .php files that make includes of other files, and AJAX scripts that need to make requests to other .php documents.
For example, Document X.php has an AJAX script that sends a request to a B.php document and brings some information. Obv...
I try to access the values of the response I receive through AJAX but I am not capable. The JSON that receives the function in success I think is fine, but when I access its elements these have value undefined .
If I throw in the...
I have this ajax function:
function GuardarJson(url,que,id,cod,param,respuesta) {
var Daticos = {id: id ,codigo: cod, respu: respuesta };
$.ajax({
url: "Paginas/"+url+"?que="+param,
data: Daticos,
type: "post",...
Hello, I have a server that gives me a random word and when creating a loop, it always gives me the same word and I do not know how to make me give me ten different words.
Here the code:
var palabra = "";
function Creapalabra() {
var xhtt...
I need to send an array using an ajax call.
$.ajax({
type: "GET",
crossDomain: true,
dataType: "json",
url: "http://localhost:24234/api/SendPushNotification",
success: {
Function(result) {
Console.log(re...
I am creating a website of readings but it happens that when sending by the URL the content of a TextArea is very long and it returns an error 414 the browser, I am using PHP with AJAX
This is the TextArea field:
<textarea id="I_Conte...