Questions tagged as 'ajax'

1
answer

ERR_CONNECTION_TIMED_OUT ERR_CONNECTION_REFUSED [closed]

I'm developing a system that uses HTML, JS, PHP and MySQL. Pages have multiple AJAX calls to the bank. I have approximately 350 users today. Lately I've been getting a lot of errors from: ERR_CONNECTION_TIMED_OUT ERR_CONNECTIO...
asked by 09.11.2016 / 15:05
2
answers

Ajax does not return the request date

I run a query with ajax on a php page, the problem is that even asking to return data, the ajax 'date' does not return anything, I give an alert on the 'date' and it returns me a blank alert, JS below: $(function(){ $(".logando").click(fu...
asked by 06.09.2016 / 21:08
2
answers

Treat AJAX return (responseText)

I made a code in AJAX PHP executes and prints in the HTML the result of the SQL query, the problem is that when it displays on the screen, the data is not treated, look like this: WhatIneedissimplytodisplayonlythecontentsof'ayzac_episode_name...
asked by 05.10.2017 / 00:51
1
answer

Ajax play audio after running successfully

I need to play an audio in the execution of the following section, where it displays the data found in a query: // Verifica se o Ajax realizou todas as operações corretamente if(req.readyState == 4) { if (req.status == 200) { // Re...
asked by 23.08.2016 / 22:46
1
answer

Authenticate in Sharepoint online via Rest api + AngularJS [duplicate]

I'm trying to create an application using Visual Studio 2015, Cordova + AngularJS. My need today is to authenticate in Sharepoint and consume the Web Services. I've made several authentication attempts, but I'm not succeeding. (function (...
asked by 21.10.2015 / 22:04
2
answers

Insert record in bank by clicking div x

How can I insert a record into the database when I click on a div x I tried to use ajax but could not do the function I have the function $status = "on"; db::Query("UPDATE bdc SET status='$status'"); I wanted to insert this function b...
asked by 03.11.2015 / 17:56
1
answer

Problem getting access time

I'm trying to catch the time that the surfer remained on the page, however nothing is returned. Main php file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&g...
asked by 25.12.2016 / 22:31
1
answer

Fill in PHP session via ajax

I'm having trouble solving a problem. I have a PHP application that needs to fill in some sessions I'm using this method to send. <script src="localhost:8080/painel_cop_mdu/js/jquery-3.1.1.min.js" type="text/javascript"></script...
asked by 15.12.2016 / 16:05
2
answers

Ajax returning [object Object]

HTML index.html <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script><scriptsrc="script.js"></script> <link hre...
asked by 20.08.2016 / 21:09
0
answers

Problems with set_include_path ()

I find it difficult to make a single configuration file (responsible for __autoload ) be used by both the files that are in the root and those in the admin folder. The root directory contains the folders app , public...
asked by 27.08.2015 / 02:57