Questions tagged as 'ajax'

1
answer

Error using JSON with datatable

I'm trying to implement my json using the datatable tool, follow my json : [ {"Nome":"Felipe","Data":null,"Tipo":"Normal","RG":"123456798"}, {"Nome":"Felipe2","Data":null,"Tipo":"Normal","RG":"123456798"}, {"Nome":"Felipe3","Data...
asked by 04.01.2016 / 14:14
1
answer

Difficulty in doing data verification in php with mysql

I'm trying to do a check in the database to know if it already has a user with the email entered by hmtl, I made this php script, but always execute it at first if the typed email is not in the database yet. I think the logic I used is correc...
asked by 11.06.2018 / 02:32
1
answer

Button refresh data from a query without refresh on page [duplicate]

I'm creating an application in PHP (Codeigniter) and I came across the following situation. I have a table on my page that brings all the results of a query into the database. I want to create a refresh button but I did not want the refresh bu...
asked by 18.09.2015 / 13:46
1
answer

Update a PHP variable within JavaScript in a time interval [duplicate]

We have a postgresql query inside a javascript function which is as follows: function valor(){ <?php $con_string = "host='ip' port=numero dbname='banco' user='usuario' password='***'"; $conn = pg_connect($con_strin...
asked by 06.07.2018 / 15:52
1
answer

My form is giving much problem with the part of the cadastre

My site has the login forms, the registration form and the "Recover my password" side by side, I want to connect the registration form with my database, the login I already have, but the registration I still can not, I want to make a registratio...
asked by 07.11.2017 / 02:39
1
answer

I can not assign values to variables

I'm trying to assign values to some variables and I'm not succeeding in calling a function step a parameter which I'm getting correctly, but trying to pass this and more a value as parameters I can not. I did this: function BuscaDados(pIdA...
asked by 27.08.2015 / 16:25
1
answer

insert data with ajax and switch in php [closed]

I have a php script that I use GET to get a url parameter and switch to a switch php and run a particular function. This script works perfectly without any errors but how to use it with ajax ?? When I call ajax with url...
asked by 22.02.2017 / 05:02
1
answer

refresh list field without refresh ajax

I have the following list in jsp where I want to just increment the value of the quantity field, without refreshing the page. The way I did it works, but refresh the page. For what I researched, it would have to be for Ajax. <table>...
asked by 09.12.2017 / 00:12
2
answers

Save atomic in PHP does not work with success and serialization

A code that does autosave of data in a form works like this: autosave.php <?php require_once '../multiinjet/web/includes/configuracao.php'; try { /*Pegar valores postados no formulário*/ $title=&$_POST['title']; $...
asked by 25.01.2017 / 22:37
2
answers

Why does my ajax only work when I want?

I have a page that is a mixture of HTML and php that when I click the submit button, JavaScript fires, takes all information and calls a function that activates an ajax to call a php file. It seems very simple though, it just works onl...
asked by 16.12.2016 / 14:43