Questions tagged as 'ajax'

0
answers

PDO, Select a query with some fields, of a certain user and code

I need to set up a query where I will only have 5 fields ( STATUS , ID_USUARIO , PACKED , ID_TRANSACAO and ENTREGUE ). I need when I change from STATUS change in another table, and update in the current fi...
asked by 24.06.2017 / 05:48
1
answer

I need to take the patient id from the table to the next page, along with the user, by clicking the button

<?php $conexao = new mysqli("localhost","root","","hospital"); if($conexao->connect_errno){ echo"Failed to connect to MySQL: (" . $conexao->connect_errno .") " . $conexao->connect_error; } $res = $conexao->query("SELECT nom...
asked by 12.06.2017 / 13:41
1
answer

How can I make a log box always show the last line?

Hi, I have a log file of other codes that keeps updating. I made a javascript code that shows this file and it is a code that updates the live text on the page inside a textarea but it keeps updating and always returns to the first line, there i...
asked by 03.06.2017 / 00:32
2
answers

How to send a table via ajax?

How do I get the position of a reordered drag and drop td and send it back in Java via ajax? <table th:if="${!---.isEmpty()}" id="id-table" class="table table-bordered mdl-data-table"> <thead> <tr> <...
asked by 14.06.2017 / 14:22
0
answers

Error calculating fields in IOS safari

I have a problem in developing a small calculation system where the user needs to put a value in a field and the system returns the results according to a specific account. In all browsers for windows on computers and Android works correctly,...
asked by 22.05.2017 / 15:01
1
answer

Get JSON return without "result" in Ajax or return without "result" in Delphi

I'm generating JSON in Delphi with mORMot and I need to get it on a page to generate graphics with Google Chart , but Delphi returns me JSON within a result . I just put the string in a function...
asked by 22.05.2017 / 19:26
1
answer

jquery ajax error

I can not throw the result of the ajax query inside a table. The result is an array (result = Object {BrowseAllCategoriesResult: Array (6)}) <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </he...
asked by 22.05.2017 / 23:47
3
answers

Show DB record without refresh [duplicate]

// esta é uma pagina separada, chamada adicionar_consulta.php <?php $conexao = new mysqli("localhost","root","","hospital"); if ($conexao->connect_errno) { echo "Failed to connect to MySQL: (" . $conexao->connect_errno . ") " . $co...
asked by 23.05.2017 / 16:53
1
answer

Layer KML using OpenLayers3

I'm starting in Openlayers and I'm having a problem visualizing polygons on maps. I have a set of polygons being returned from a query in the database (postgres / postgis). This set of polygons is passed via json by an ajax request to the fronte...
asked by 23.05.2017 / 01:33
0
answers

Modify function return in FullCalendar

I'm trying to make a script that goes to my database and returns the data through a function. Following: events: function(start, end, timezone) { // var convert = moment(start).tz("America/Cuiaba").format("YYYY-MM-DD HH:mm"); $.a...
asked by 22.05.2017 / 22:39