Questions tagged as 'ajax'

0
answers

Error 403 in infinite scroll with jQuery, AJAX and PHP

I'm doing an infinite scroll with jQuery, AJAX and PHP. I have all the code and it does not give me any error, but it only gives me an error when I try to access the multimedia files for the scroll data, could there be an error in my code? jQ...
asked by 05.05.2018 / 02:03
0
answers

readyState == 3 does not work

Good morning, In my code everything works perfectly except the readyState == 3, it is assumed that in that state the information is being sent to the .php and it should show me the 'loading ...' in the div, lower when it is in state 4 and ans...
asked by 08.05.2018 / 01:21
0
answers

How to use AJAX within a .PHP when importing data from a .CSV

<!DOCTYPE html> <html> <head> <title></title> <script type="text/javascript" src="header.php"></script> </head> <body> <h1>Importando archivo CSV</h1>...
asked by 15.05.2018 / 23:06
0
answers

Set time zone

I want to set time zone for my project. This is my code: I set the format like this: date_default_timezone_set("America/Caracas"); setlocale(LC_ALL,"es_ES@euro","es_ES","esp"); And I print it this way: $time = date('H:i:s a', t...
asked by 10.05.2018 / 16:52
0
answers

Ajax does not work for me in andorid 7.0

Today I turn to your help with this topic. Develop a small webapp where I enter a value and through ajax send data to php and valid in my database if the data exists, returning a flag that I return to manipulate in jax fromateandolo with J...
asked by 10.05.2018 / 18:01
0
answers

Problems to compare dates and send results in real time with AJAX and PHP

I'm trying to make a script to process a payment after a while. The idea was to keep the date of the moment in which the request for payment was sent and the date on which that payment should be processed. When that date is met, the system shoul...
asked by 04.05.2018 / 04:42
0
answers

Unexpected end of JSON input

Good I have the following problem when bringing information from the database, I am making an AJAX request when loading the DOM so that it brings me all the videos from the database and shows them on the homepage. For this I have the following c...
asked by 02.05.2018 / 05:27
1
answer

Multiple variables by json and ajax with Laravel

I explain what I have tried to do, I have created 2 select dependents, one is called type of person (Natural Person and Legal Entity) and the other company , select the type of person, the next select (company) will load the corresponding dat...
asked by 03.05.2018 / 01:51
1
answer

Get table records in response to clicking from another table and display them

I have two tables in a view, one of them is hidden and appears when I click on a row in the first table Hidden table: @model Tuple<IEnumerable<web.Areas.Periodo.Models.PeriodoViewModel>, IEnumerable<web.Areas.Peri...
asked by 01.05.2018 / 23:22
2
answers

Browse json array in ajax extracted by php

I'm new to ajax and javascript. My goal is to extract the value of the input in relation and through ajax send it to php, there by a function that I have with mysqli, I get an array, in the end I use echo json_encode, but I do not know where tha...
asked by 03.05.2018 / 19:51