Questions tagged as 'ajax'

0
answers

Upload File, one at a time

I have a question about how to send one file at a time after the previous one is complete (I have a multiple input) but when sending send one at a time more (if the files are large send both at the same time and progress bar is wobbling from%...
asked by 05.01.2018 / 03:17
1
answer

Redirect with jQuery and PHP

I have two pages, where one is the .js which makes the ajax call to a routine in PHP to validate a user: link Another page in PHP that is the call of this previous routine where I will validate the user by his login and password to s...
asked by 14.11.2017 / 01:45
0
answers

Client question for a webapi

I have a slight doubt ... it concludes a webapi in asp.net core, is already all tested and everything, however, I have raised a doubt ... It includes a new project next to this api, in order to be the client that will consume such api and wanted...
asked by 15.11.2017 / 02:01
1
answer

focus on input loaded via ajax

0 vote against favorite I have a page where I am refreshing with ajax only in the div content. It is configured like this: div1: I load 2 selects where the user will choose these 2 data (class and bimester) div 2: I load the application...
asked by 23.11.2017 / 18:44
0
answers

How to put Collapsible List Group in ajax?

I want to put tabs when the person in the category opens a list of products, but I can not get [! [ $(document).on("click","btnMesa1",function(evt) { $.ajax({ type:"get", url:"http://localhost:8080/ProjetoXDK/appModelo/www/php/func...
asked by 13.11.2017 / 00:06
1
answer

Run Ajax by passing credential information to the Header

I need to make an ajax call by passing in the Header the following information: Content-Type: application / json Cookie: authToken = valueXPTO (This information above I got from Postman) IneedtodothesamethingexceptIsawAjax,andnowayamIgettingit....
asked by 17.11.2017 / 01:20
0
answers

Save data to a file and retrieve it with jquery

I want to simulate a blog article and save a comment purely by Javascript so I have 3 files to accomplish this task: $("#enviar-comentario").click(function(){ var nome = $("#nome").val(); var mensagem = $("#mensagem").val();...
asked by 09.11.2017 / 20:18
0
answers

Use Autocomplete with Oracle

I'm trying to get autocomplete to search my oracle database, but it's not working. I made the script in the page header: <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script><linkrel="stylesheet" href="...
asked by 26.10.2017 / 13:03
1
answer

PHP is not returning data to AJAX to validate Captcha

JAVASCRIPT function validateCaptcha(){ var responsec = grecaptcha.getResponse(); if(responsec.length == 0){ }else{ $.ajax({ type: "POST", url: "kingSecure/server.php",...
asked by 05.11.2017 / 12:32
0
answers

API Slim returns error only with AJAX request

Hello, I developed an API using the Slim Framework and testing one of the endpoints that with Postman works perfectly but when I do the AJAX request, although it is sending exactly the same data that I send with postman, it seems that the data do...
asked by 03.11.2017 / 17:23