Questions tagged as 'ajax'

0
answers

File (.PDF) for Ajax / WebMethod WebForms

I would like to know how to get the information of a pdf file (binary, name, size) public class Arqs: IHttpHandler { Funcoes f = new Funcoes(); public void ProcessRequest(HttpContext context) { try {...
asked by 19.10.2017 / 14:07
1
answer

Querying data by single input ID - AJAX

I'm developing an application and in it, I have a method of searching clients by name, right at the beginning, I collect basic information for each client. Follow the code: function atualizaGrid(){ if ($("#filtrar").val()) filtro = "/"...
asked by 08.10.2017 / 00:46
0
answers

How to debug an ajax request for a laravel route?

I'm doing an AJAX request on a route, using laravel, as follows: $.ajax( { url: "../controle/pendentes/concluirVarias", type: "POST", data: { ids: arrayIds , _token: '{!! csrf_token() !!}' },...
asked by 09.10.2017 / 00:53
0
answers

Lock Maps api query to the outside

In this code below I make a query in the address and it returns me some data so far everything is ok. What I wanted to know is? If, like a customer, they enter an address in the United States returns me an "Area Not Allowed" message I want...
asked by 07.10.2017 / 22:47
1
answer

Fill meta description via javascript does Google interpret the code?

I have a JSON {"content":{"description":"Descrição do meu site"}} I wanted to populate the meta name description via javascript <meta name="description" content="" /> I wonder if Google will read this information, otherwise what...
asked by 25.09.2017 / 16:25
1
answer

DomPDF Illegal error "offset offset 'hex' online 1150 style.cls.php"

I have the following code: <?php session_start(); if(isset($_SESSION['logado'])==false){ echo("<script>window.location = 'login.php';</script>"); } ?> <!DOCTYPE html> <html> <head&g...
asked by 24.09.2017 / 20:19
0
answers

error with $ .ajax while reading php

I have the following file index.php that has 2 forms. One of Login and one of registration <?php header("Content-Type: text/html; charset=utf-8"); /* Carrega as classes em tempo de execucao */ function __autoload($classe) {...
asked by 20.09.2017 / 12:56
0
answers

phonegap pass list of conatos to mysql

I'm trying to get the contact list from the phone and send it through ajax and php to mysql. This is the code I'm using: document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { var options = new...
asked by 22.09.2017 / 05:39
2
answers

Request blocked by CORS Policy

I'm doing an API with Slim Framework and when I test the answer with Postman everything works fine, however when I put it on the server and tried to make an ajax call to test I got the error below.    Failed to load link : Redirect from ' li...
asked by 15.09.2017 / 15:45
0
answers

success: function ajax call function from another javascript

function paginacao_tabela_clientes_status(idpessoa){ $.ajax ({ type: 'POST', dataType: 'json', url: BASE_URL + '/clients/tabela_clientes_pedido_entregue', data: {idpessoa: idpessoa},...
asked by 30.09.2017 / 08:17