Questions tagged as 'ajax'

1
answer

How to send variables from Ajax Jquery to php

Very Good. I describe my problem to you I have a table which contains a button with a value = Id of a contact (The Id varies according to the row in which we are located). It should be noted that all this is inside a form called frm_Contactos...
asked by 11.07.2017 / 20:20
1
answer

Call the value of a variable from one file to another

My situation is that I have two PHP files in which: Archivo1.php (form) Archivo2.php generates a consecutive code. How can I get my generated code in archivo2.php and send it or request it to my archivo1.php...
asked by 28.06.2017 / 23:50
2
answers

Chat Ajax and PHP

I'm trying to send some data from my database depending on the sender's id and the id of the receiver but this one throws me an error.    Fatal error: Call to a member function fetch () on boolean in line 16 EDITED <?php require...
asked by 29.06.2017 / 00:59
0
answers

Run two events ajax - js

Good day forum. I have a question, how can I do to be able to execute two events with javascript and ajax. function validar(){ $(document).ready(function(){ $(document).on('submit','#addproduct',function(){...
asked by 03.07.2017 / 00:13
0
answers

Unexpected token in JSON at position at JSON.parse (anonymous)

angular.module('app.controllers', []) .controller('AuthLoginCtrl', ['$scope', 'restApi', '$state', 'auth', function ($scope, restApi, $state, auth) { $scope.ingresar = function () { restApi.call({...
asked by 02.07.2017 / 05:17
0
answers

Edit a record using a form (ajax, codeigniter)

I have in my table filled by a query and a foreach in this table after filling it with records, I have a button to edit which opens a modal and from there edit the record. The problem is that when you open the modal, you do not load th...
asked by 29.06.2017 / 19:54
1
answer

Update in database (pdf) to mysql with PHP help

I already tried many things updatepdf.php <?php $archivo=$_FILES["pdf"]["name"]; $tipo = $_FILES["pdf"]["type"]; $tamanio = $_FILES["pdf"]["size"]; $ruta=$_FILES["pdf"]["tmp_name"]; $destino="cv/".$archivo; //copy ($ruta, $destino)...
asked by 30.06.2017 / 01:41
1
answer

Scope ajax does not work laravel 5.4

It turns out that the query scope does not work, I'm using ajax to capture the data, the following happens to me when in the controller I load the pager, the table shows me the records $dataInsumo = Insumo::orderBy('descripcionIn...
asked by 12.07.2017 / 03:46
1
answer

Copy a large file using FileSystem.CopyFile in VBscript

I use FileSystem.CopyFile to copy a 1GB file to another directory. Meanwhile, another program needs to determine that the file has already been completely copied to carry out its work. How can I determine that the file has already b...
asked by 04.07.2017 / 18:39
2
answers

How to choose a user from among thousands of non-logged visitors?

Hello, I have a web page in which I have a code ajax $ post that what makes every time the user enters the web this produces a request for refreshments of links that I get from other pages of mine. The problem is that I receive thousands of v...
asked by 28.06.2017 / 09:27