Questions tagged as 'ajax'

0
answers

JQUERY object with dynamic string

I have a for () that adds some elements in the div # chat_box according to the JSON returned in an AJAX. Only I'd like to see how many elements with the same data-identity returned in JSON exist. So I did like this: // AJAX -> SUCCESS:...
asked by 02.07.2018 / 23:58
0
answers

Page Capture on external site (running javascript on this page)

There are several ways to read an external page with a component type AspHTTP.Conn, Dynu.HTTP, MSXML2.XMLHTTP, Microsoft.XMLHTTP. For example: <% Set XMLHttp = Server.CreateObject("Microsoft.XMLHTTP") 'CAPTURAR CORPO' XMLHttp.open "GET", "h...
asked by 05.07.2018 / 16:01
0
answers

Post a file via URL through Ajax on a page with Input File

On a page that contains a button to send images to advertise, do you have to instead click on this button and select an image from my computer, send an image of a URL through Ajax? I'm trying to make a Userscript to integrate my virtual store...
asked by 29.06.2018 / 22:42
0
answers

Element animation when changing JSON (HTML + css + jquery)

I need to insert, delete and change the order of elements (div for example) with some basic animation effect when changing data from an updated JSON every x seconds via Ajax. From this point, I need the data to come from a JSON :: link I...
asked by 15.07.2018 / 02:04
0
answers

Problem with Request via GET

I'm successfully using the script below to open in the Visual DIV the products for the selected brand: Trademark Link: <a class="marca" style="cursor:pointer;" id="'.$res['codigo'].'">'.$res['nome_marca'].'</a> Script...
asked by 06.07.2018 / 12:54
0
answers

Ajax Retriever, Json in PHP

how do I get the return and put inside a variable php example: let's say that I am returning the id of the user and wanted this id to be inside the $ id so that a link can be made "> very grateful help. index.php <html lang="pt-br"...
asked by 06.07.2018 / 05:34
0
answers

PHP PDO relationship between tables - FK

Hello. I have two tables. In the table "cadastre" I have the fields: id - primary key - AUTO_INCREMENT ---- field name - VARCHAR 50 ---- field type - INT (11) - (field related to the "Type" table) ---- and field description - TEXT And...
asked by 28.06.2018 / 04:36
1
answer

Only one column of the table responsible for Drag and Drop - Touch Punch

How to make only one table column responsible for performing the drag and drop of the table row using the jQuery UI Touch Punch event <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script s...
asked by 04.07.2018 / 23:37
1
answer

Send input file by Ajax

How do I send a file via email using Ajax? When I fill out the form, all data is sent minus the upload. For Php I can send everything right, the problem is when I run the ajax function, it does not send the upload $("#enviar").click(functi...
asked by 04.07.2018 / 22:02
0
answers

Uploading by ajax

I made the code in ajax to send information through the click method, however the file does not arrive in the email, only other data, in the Console appears the array with file type, size, name, everything right but it is not working ... I do no...
asked by 05.07.2018 / 22:48