Most voted "ajax" questions
AJAX (Asynchronous Javascript and XML) is a technique for creating interactive websites uniformly through asynchronous data exchange between client and server. AJAX facilitates server communication or partial page updates without a traditional page update.
Learn more…3,397 questions
Sort by count of
-
0
votes1
answer1357
viewsCreation table with dynamic filter
My intention is to create filters to appear all columns initially and to be able to choose the columns that appear through checkbox. Can someone help me do that? <div class= "form-group"…
-
0
votes0
answers65
viewsOnline application communicate with a local computer?
How do I get an online web application to communicate with a local computer? The goal is to send data to a local computer, and in principle I thought to send using Jquery/Ajax. It would have to do?…
-
0
votes0
answers45
viewsPHP json for Ajax request
I have the following function in Class Read.php : public function selectCliente(){ try{ $stmt = $this->conn->prepare("SELECT CLIENTE.CODIGO_CLIENTE, CLIENTE.CGC, CLIENTE.RAZAO,…
-
0
votes1
answer70
viewsAjax returning repeated data
Whenever I use Ajax to return a database result it stores this result by making a sort of queue in the next requests, returning in other queries old data next to the current ones, example...…
-
0
votes0
answers419
viewsLogin with Ajax and PHP with redirection
Hello, I am trying to log in, but I am coming across the following, when you login redirects to the same div of the page, instead of going straight to another page. Someone has a solution? HTML…
-
0
votes1
answer201
viewsinfinite scroll with msg at the end of the results
I am starting now in javascript and ajax so there is much I still have doubt I created an infinite scroll system but what I’m not knowing to create is: when you reach the end of the column or (…
-
0
votes0
answers100
viewsError 0 while sending message by Ajax
I have a system of posts in PHP and Jquery, where users post things. It hasn’t been released to anyone yet, for I want to get everything ready, but I came across an error that is happening in the…
-
0
votes0
answers151
viewsscroll linked to a div in html with javascript
the function I have is to show me more articles every time I arrive at the end of the page ( infinite scroll paging ) works perfectly but I have a doubt that I am not able to solve, I want to load…
-
0
votes2
answers60
views -
0
votes2
answers1603
viewsLoad content from another jquery file
I would like to know how to load the code from another html or php file using the function $(".div").load("html.html"); The mistake here would be : It loads the code perfectly, but I have a button…
-
0
votes1
answer265
viewsvalidate 2 recaptchas in memsa page by ajax
Speak blz guys ? I need a help implemented on the same page 3 recaptchas. <form id='form1'><div class="g-recaptcha" id="Login" data-sitekey="minhakey"></div></form> <form…
-
0
votes2
answers1383
viewsjquery, onclick catch id values <a
It’s a notification system. The code below is working fine. When I click on the notification ( php file that generates notifications: <ul class="dropdown-menu"> <li class="header">Você…
-
0
votes1
answer118
viewsjQuery Function crashes after Ajax search
I made a system in Codeigniter that searches in real time. In my search, send the parameters via Ajax to the controller and do the query. I send all the HTML to a view. Then I take all the HTML from…
-
0
votes0
answers40
viewsHow to redeclare a Function after loading new content with Ajax?
I need to assign to the new elements loaded through a request ajax this Function bloginfos(). There’s a more elegant and professional way in my code of doing this?…
-
0
votes2
answers236
viewsWhile Ajax Jquery
I have the following code: $.ajax({ type:"post", url:"../connect/post/infoClienteTask.php", data:'infoClienteTask='+fantasy, success:function(responseData){ console.log(responseData);…
-
0
votes1
answer124
viewsjQuery Ajax generating image error
I have the following code: <table class="table" id="historico"> <thead> <tr> <th>Hora</th> <th>Música</th> </tr> </thead>…
-
0
votes0
answers135
viewsSend text together with Formdata Ajax file
I’m doing a test with the script below, for file upload: function uploadFile(){ var file = _("file1").files[0]; // alert(file.name+" | "+file.size+" | "+file.type); var formdata = new FormData();…
-
0
votes1
answer364
viewsReturn via Ajax data in an input type date with Jquery
I have the following Ajax code: $.ajax({ type:"post", url:"../connect/post/infoTask.php", data:'info-task='+idtask, success:function(responseData){ $(".delivery-info").val(responseData.Delivery); }…
-
0
votes1
answer386
views -
0
votes1
answer167
viewsreturn of various error via ajax
I have a little problem regarding the return of errors via ajax, follow the condigo: Index.php <h4>Cadastro de Nome</h4> <form id="cadUsuario" method="post">…
-
0
votes1
answer463
viewsError in Ajax request
I need to send the value of a table that is in a modal to the server and then open another modal using the information from the first table, but the variable always returns me null, I tried to use…
-
0
votes3
answers401
viewsHow do I send a field just by ajax?
At the moment I am sending the entire form, I need to send only one field of html by ajax, Idaparelho is dynamic and comes from the database follows my ajax code and the field I need to send: AJAX…
-
0
votes0
answers141
viewsData Return PHP + Ajax
Hello, On my system I intend that, the user select the data present within the dropdowns and click confirm, the selected value goes to the document filtraDashboardGeral.php, with a PHP function…
-
0
votes1
answer147
viewsSync php and ajax
I am doing a select in php using a variable that comes from ajax, the problem is that php is trying to do the query before receiving the ajax value, this generates an error in the page and the…
-
0
votes1
answer94
viewsError in ajax when sending by mobile
good evening, I have the following ajax: jQuery('#form-contato').submit(function(){ var nome = $(this).find('[name="nome"]').val(); var email = $(this).find('[name="email"]').val(); var assunto =…
-
0
votes0
answers47
viewsRecover link generated by an ajax
Good morning guys. I’m sending data to the other domain, using ajax + php. Only I need to make this generated link open, so they can send the data of the site, because of captcha. $.ajax({ url:…
ajaxasked 7 years, 11 months ago Gabriel falieri 83 -
0
votes0
answers37
viewsCapturing ajax variables using php
I have the following ajax : $(".select").change(function() { var select = $("#selectAparelho").val(); $.ajax({ async: false, type: "POST", url: "administrador.php", data: aparelho = select…
-
0
votes0
answers592
viewsPick up content from a captcha or fill out external website form
Good morning, stackoverflow people. I’m going through a problem that I don’t see the light for. I have the following situation: I’m going through a portal, and this portal, I needed to send…
-
0
votes1
answer695
viewsRun function without refresh and return function data
I need to run a PHP function that will generate a zip file, write to the database if it was generated and the date. And right after returning the warning that was generated. At the moment I already…
-
0
votes0
answers154
viewsrequest.getRequestDispatcher is not working and shows no errors
I have a problem in request.getRequestDispatcher("Valida.jsp"). forward(request, Response); from my non-forward Folder to the Valida.js page. I need to go from an HTML to a javascript (by Ajax) that…
-
0
votes1
answer144
viewsUpload files and inputs of any type submitted with ajax
Guys I need help for the first time I’m not managing to put something into practice. I need to get a form that contains <textarea> and inputs like text,number and crucially the file type are…
-
0
votes1
answer70
viewsPolymer: Observe a global variable
I want to create an element that will open a popup and display a message to the user. I want it to be accessible by any view of my system. So I created a global variable that will be responsible for…
-
0
votes1
answer56
views -
0
votes2
answers199
viewsError request with jquery-autocomplete?
I have the following file gulpfile.js build, to generate the files css and js. He’s generating me two files: $('#instituicao').autocomplete({ source: function (request, response) {…
-
0
votes1
answer1414
viewsReturn PHP outputs on the same page
I have a form which is validated via Javascript. It is working perfectly, it validates, sends pro .php and he gives me a echo saying it was successful. However I wanted this echo be given on the…
-
0
votes1
answer821
viewsLaravel with panel Laravel-admin
I’m a beginner with Laravel and I’m using Laravel 5.3 with the Admin Panel called Laravel-admin (https://github.com/z-song/laravel-admin) I need to get the answer of a radio button with Ajax before…
-
0
votes1
answer52
viewsHow to capture and display errors using Angular and AJAX
I’m trying to receive the return via Ajax and display using Angular JS, but without success, follows below the code: HTML: <body ng-app="app" ng-controller="controlador"> <form…
-
0
votes0
answers260
viewsConsuming XML data via Ajax
I need to consume the data of an XML via AJAX but Firefox always returns an error of "incorrect formatting" and does not print anything on the screen. The same AJAX runs smoothly in Chrome, but…
-
0
votes0
answers93
viewsError while consuming Web Service axml with apache Cordova Visual studio
Guys I have a project with apache Cordova running in visual studio, when I try to make a web connection service returns me the error below Referenceerror: $ is not defined at Childscope.Teste [as…
-
0
votes2
answers192
viewsload div with ajax without error in the answers
I have a problem with my ajax script, its function is to take the typed zip code and bring its values via API , however it is presenting an error that I cannot solve, by typing the complete zip code…
-
0
votes1
answer436
viewsProgressbar does not update according to Xmlhttprequest request - Jquery/Asp.net
I’m building an app to upload videos and photos, and I’d like to put a ProgressBar to show progress for the user, I found some questions to answer (Like this question), but I’m having a little…
-
0
votes1
answer304
viewsHow do you disable cross origin restrictions to run on localhost?
<!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <title>Teste - LOTECE</title> </head> <body> <div…
-
0
votes1
answer174
viewsHow to consume a Multipart form-data method with void method
How to consume a method Multipart/form-date of a web service made in java, by ajax or jquery? Below I leave as this the method: JAVA: @POST @Path("/aprovarCompra") @Consumes("multipart/form-data")…
-
0
votes2
answers756
viewsMake PHP read server folders
Colleagues. I now took a project here at work, where in the beginning this project was developed. It works as follows: It was created in the index.php page some folders with jpg, where it directs to…
-
0
votes0
answers24
viewsError 500 when trying to Upload Video with Xmlhttprequest Asp.net/C#
I have an application that uploads video using XMLHttpRequest when I uploaded a small video (386Kb) the video goes up normal, but when I try a larger video (20Mb) it does not reach the function C#…
-
0
votes1
answer53
viewsError making ajax call
Hello, I’m trying to make the following call ajax: function salvarAposta() { var nomeApostador = $('#nomeApostador').val(); var jogosSelecionados = $('#tabelaFinalizacao tbody tr'); var valorAposta…
-
0
votes0
answers214
views -
0
votes1
answer296
viewsphp and email sending ajax
I am trying to send email from my page but it does not return me any message if successful or not, I am using php along with bootstrapvalidation and ajax to forward the information to my php page.…
-
0
votes1
answer876
viewserror: Object {readyState: 4, responseText: "", status: 200, statusText: "OK"}
I have an AJAX request that returns certain data from my database when the user filters some information, sometimes the filters work 100%, but sometimes it returns within the error of the request…
-
0
votes1
answer336
viewsReturn Ajax with multiple result and creating lines
Due to an internal need, I need to make the return of an Ajax query create lines for each displayed result. Today I have a function that I use and that works normally when the result is only one…