Questions tagged as 'ajax'

1
answer

Ajax function being ignored

Well, I have this code that I'm using to get the server validations and display in the jquery validation plugin I use. function nomeExiste(value, validator, $field) { var retorno; $.ajax({ u...
asked by 23.12.2016 / 03:31
1
answer

Return php result to javascript

I am doing the POST request for AJAX: HTML FORM (admin.php): <form align="center" width="50" name="excluir_documento" id="excluir_documento" onClick='return confirma_excluir_documento()' method="POST"> <input type="text" name="pre...
asked by 24.12.2016 / 00:30
2
answers

JS looking for PHP JSON return

I'm starting to use JSON and AJAX and am having a hard time fetching the generated JSON in php for JS. This all in Intel XDK. In php it looks like this: if ($_GET['acao'] == 'buscaorcP'){ $qryOP = mysql_query("select * from orcamento_ca...
asked by 17.11.2016 / 22:44
1
answer

Return "Undefined" Ajax PHP

Next I'm trying to return a database value via Ajax. By clicking the button: <button id="btn-database-finder" name="database-link" type="button" class="btn btn-outline btn-primary btn-xs btn-to-right" data-toggle="modal" data-target="#da...
asked by 03.11.2016 / 15:01
1
answer

Client Search by Name / Phone / Cpf JavaScript / C #

I have a page that lists the client, and I need to do a search by names, I have the method that does the research the problem and how to integrate it with the front end, looked for examples on the internet but I think my lack of notion let me un...
asked by 26.09.2016 / 15:23
1
answer

Use database data mysql and php

This code works correctly with the fixed dates. How do I use the dates that are registered in the mysql database? if (!empty($_REQUEST['year']) && !empty($_REQUEST['month'])) { $dates = array( array( 'date' => '2016-09-1...
asked by 21.09.2016 / 16:37
1
answer

How to submit a form with select without submit button?

Good evening, how do I submit a form with select without the submit button? For example, to create a filter that when you select the option it automatically submits the form without having the submit button. My form looks like this: <for...
asked by 22.11.2016 / 21:05
2
answers

Parameter arriving truncated in Ajax request

I have a Ajax request that gets the data I need from a WebMethod . The problem is that the parameter used for the request is "arriving" truncated in WebMethod the length of the parameter is 44 digits. Parameter sent: 31...
asked by 22.11.2016 / 11:42
1
answer

Ajax request for laravel server

My minimundo is as follows, I am developing an API for a bakery, where it can be on the same server or different server, I am using the laravel framework in the 5.2.* version. In order to facilitate the work I did some controllers...
asked by 04.10.2016 / 01:54
1
answer

Problems with utf8_decode in array return

I have a problem that has left me quite confused. I have a page in php that makes register of Ministries. In it I send the data via ajax to another php page to do the insertion, and the insertion always occurs in the normal way. Here are the cod...
asked by 04.09.2016 / 17:20