Questions tagged as 'ajax'

1
answer

Handle an array key?

I need to manipulate a key that is passed as a parameter in this query : $Read->FullRead("SELECT DISTINCT ".DB_CONTAS." WHERE contas_status = 1 '{$FilterAdd} ", "{$FilterValues}");' The var_dump {...
asked by 04.01.2017 / 20:48
2
answers

Bank check with ajax

I've never worked with ajax, but I need a form in a form to search the MySQL to check if the login the user is typing already exists. In the input field I put a onBlur for when the guy jumps from field the system to verify if th...
asked by 26.09.2016 / 19:55
2
answers

Avoiding conflicts between variables in Javascript

All modal windows in my system open via ajax, and these have their own JS codes with variables and functions. In order to avoid problems with the variables and functions of the screens that call these modal, I thought of adopting the following s...
asked by 05.09.2016 / 16:37
3
answers

Problem accessing api using $ .ajax from jQuery

I'm having trouble accessing api using the $.ajax({}) function of jQuery. The Error: Mycode:<!DOCTYPEhtml><html><head><scriptsrc="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script...
asked by 31.08.2016 / 01:48
1
answer

Send form to controller with ajax

I need to send formulario with ajax , so there is no reloading of página . If you do not have it, I need the screen to return to where it was. InthewebsiteIhavethesetabs,thetabwheretherewillbesubmitisAGENDADEREUNIÕESift...
asked by 10.01.2017 / 13:39
1
answer

Error listing items using JSON and PHP

I am inserting items into a list through a SESSION in PHP, these items will be read on another page using JSON, but it is giving error and I am not able to solve. session_start(); if(isset($_POST['Cadastrar'])){ $Nome = $_POST['Nom...
asked by 30.09.2016 / 00:42
1
answer

Styles do not apply to elements coming via AJAX

I am assembling a page that is inserted 2 values. These values go to a page .php via AJAX and then the page returns all records in the database. Role that records the data: function adiciona(){ var os =...
asked by 29.09.2016 / 20:15
1
answer

Send array to controller via Ajax.BeginForm and update PartialView

Good morning guys, I have a search screen where you can select multiple values according to the user filter. I use Ajax.BeginForm to update the table, but now I need to send an array, the user can select multiple values in a given field, s...
asked by 29.09.2016 / 17:00
1
answer

AJAX request for WCF with POST

How to make an AJAX request for a WCF service using POST? I'm getting several errors with OPTIONS and POST methods that come in the same request. Here is my code: Contract [OperationContract] //[WebInvoke(Method = "GET", BodyS...
asked by 03.12.2016 / 18:55
1
answer

return of several errors via ajax

I have a problem with the error return via ajax, follow the link: Index.php <h4>Cadastro de Nome</h4> <form id="cadUsuario" method="post"> <label>Nome:</label><inp...
asked by 01.12.2016 / 14:00