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
answer272
viewsAjax access error with friendly url
Hello guys I have a problem my system this with url friendly I am doing an update by ajax, but when I will test to get the data of page error not found 404 follows the source codes. Viwer.js…
-
0
votes1
answer1414
viewsUpload does not reach PHP via AJAX with . serialize()
I’m implementing a posting system on my future website where it requires uploading images. But when making the request with AJAX the PHP script returns an error stating that the name "img-post" of…
-
0
votes0
answers239
viewsHow to mount the return Json
I don’t know how to do it or who to turn to. I need to make this json return with Jquery.Ajax I’d like to pass parameters more or less like this In JAVASCRIPT I have so $.ajax({ type: "POST", url:…
-
0
votes1
answer181
viewsSend form to controller with ajax
I need to send a formulario with ajax, so that there is no recharging of página. In case there’s no way, I need the screen to go back to where it was. On the website I have these tabs, the tab where…
-
0
votes1
answer57
viewsProblem to update user password via ajax in Laravel 5.3
I have a table where I list all the users I have in the database and I have a td where are the actions for them that contain two buttons load balance and change the password at this time I am trying…
-
0
votes1
answer24
viewsProblem with add-on firefox on site that does not refresh/browse by Ajax/JS
I am developing my first Webextension(Firefox Add-on) and is working properly. However, I’m in trouble when part of the site is browsed without giving refresh. That is, the extension does not work…
-
0
votes0
answers253
viewsHow to work with dynamic form in jquery?
I wonder how I can work in a simple way with this dynamic form , type the categories comes from the database via jquery and ajax and appears on the screen as a form for the user to select your…
-
0
votes0
answers98
viewsRequest item is not returning in ajax Function
I have a problem in my application in which I have not the least idea how to solve, let alone the reason for the problem It turns out that an index is not specifically returning in my request within…
-
0
votes1
answer263
viewsProblems inserting HTML using ajax
I’m having trouble inserting HTML using ajax HTML: <table class="table table-hover"> <thead id="thead"> <tr id="tr-thead"> </tr> </thead> <tbody id="tbody">…
-
0
votes1
answer424
viewsAngularjs ng-click event does not work when configured in an element coming from an asynchronous request
I have a page named listDT.php that contains a Datatable (https://www.datatables.net/). I used the Datatable plugin interface to dynamically load the Datatable content. The last column of the table…
-
0
votes1
answer125
viewsHow do I make a change to be printed in the view without refresh?
<script type="text/javascript"> function atualizarTarefas() { var url = "institucional"; jQuery("institucional#entregas").load(url); } …
-
0
votes1
answer43
viewsSearch within a _POST
I was wondering if there is a way to search for data inside a POST? I need it a lot, because each box is a different id. Example: **JS:** data {'id':id, 'ponto1':ponto1} **AJAX:** id: $id =…
-
0
votes1
answer580
viewsAjax sending template to controller
I wonder if it is possible to pass a "Model" object via ajax to my controller. $.ajax({ type: "POST", url: "@Url.Action("CadastrarSementesVariedades", "SementesLevantamentoVariedades")", data:…
-
0
votes0
answers421
views'Msajaxbundle' is not a valid script name. The name must end with.js'
I started a project using framework 4.5 and unfortunately I had to return the version of the framework to 4.0, I changed all the necessary libraries but now that I have returned the version to 4.0…
-
0
votes2
answers368
viewsSelect dynamic as you type in a Textbox
I have a scenario, which is this: I have a table, where there is a field called promotional code, where this promotional code can be typed and when it is typed it will have to do a SELECT in a…
-
0
votes1
answer202
viewsAfter filtering content, jQuery does not work
I made a code listing database items with PHP (using data-id for jQuery to "read" the click), but when filtering the items using Ajax, click stops working. PHP while ($furni =…
-
0
votes1
answer108
viewsWhat’s wrong with my Ajax?
My code has no return and I can’t figure out why. index php. <form id="login" method="POST"> <input type="text" name="username" placeholder="Usuário ou email" /> <input type="text"…
-
0
votes1
answer225
viewsAdd items within an array to later save
Hello, I have the following situation and would like a hint if possible how would be the logic to implement this procedure in my application PHP Laravel. I’m creating a stock system, in the drive…
-
0
votes1
answer176
viewsmodify an input and update
php Could someone give me tips on implementing a part? i had printed an input of type text inside the while loop: "<td><input type='text' value='".$valor['url_video']."' style='width:…
-
0
votes1
answer448
viewsHow to prepare the content of a JSON for download?
In a certain area of my site, the user can select some rows of the database to export them to a JSON, after selecting all that want an Ajax call is made to get the data from it, but within the…
-
0
votes1
answer1300
viewsUpdate an Asp section variable without refreshing the page
I’m racking my brain trying to solve this problem, but to no avail... I am with a virtual store created for another programmer who disappeared. For varying code is no documentation. To calculate the…
-
0
votes1
answer50
viewsAjax + Auth Cakephp only returns false
I’m using ajax to log in to my system using Cakephp Page with Ajax <form id="login"> <input type="text" name="username" placeholder="Usuário" required> <input type="text"…
-
0
votes1
answer77
viewsjQuery.ajax calls webmethod(c#) with Speechsynthesizer
I have a javascript method that checks if there is an unread message. If there displays the image of an envelope. The method executes a jQuery.ajax calling a Webmethod that returns the amount of…
-
0
votes1
answer80
viewsExplode php string
I have a strange problem at least for me. I have a string in php: $str='10,20,30,40'; explode(',',$str); When I do the string explode and pass the result to a view via $ajax I get the following…
-
0
votes0
answers74
viewsAjax/php paging not working on Ios
Paging my site is working on everything, pc and android browsers, but on iphone or ipad, it is not working. Is there a solution I should do to improve all this on iOS? I’m using ajax with php. My…
-
0
votes1
answer305
viewsReturn and reply to email submission in the layout
I have an Email sending system that receives the name and Email of the database and sends . But when I call the function it will load all emails on the screen with your result in front.…
-
0
votes1
answer143
viewsWhat better way to connect to a Web server using Java Web?
I am working with a Java Web application, which will constantly take a txt file, and update this data constantly in an HTML page, but I don’t know what is the best option to connect to a web server,…
-
0
votes2
answers233
viewsSearch for data in Json and display time in time and move on to javascrtipt
I need to get the data that are in json format example: {"latitude": "-3,3462, -60,6790"} I need to display the results time in time type every 5 seconds and move to javascript without refreshing…
-
0
votes1
answer88
viewsAction form not found Not Found!
I have a PHP project using MVC, right... it was created a form for entries that would be sent by jQuery Ajax, but at the time of setting the url to which the form would be sent it does not find the…
-
0
votes1
answer849
viewsHow to get back data from a function via ajax?
I have an ajax in my view add that makes an asynchronous request in an action test in my controller, in this function I need to return the variable $balance to my view add, I would like to know how…
-
0
votes1
answer88
viewsEnding any connection after "closing" the link
I’m using a small ajax code to open some links! Only sometimes these links have some videos!! And even that loads!! But the problem is that these links are opened in a lightbox! And when you close…
-
0
votes2
answers1344
viewsOpen another page in modal Jquery
I have a problem that I can’t solve in any way. Well, I have a project on Asp.NET MVC as follows: Model public class Objeto { public Objeto() { } public Objeto(string nome, double valor, double…
-
0
votes1
answer482
viewsHow to load data from an ajax request into Datatables
I would like to know a way to load data from an ajax call to datatables. so I can reload the chart. I am clicking by a method in ajax that passes to the table in the date object, but when I call the…
-
0
votes1
answer196
viewsSync data offline with Phonegap
A situation has arisen that I need to synchronize data from an App but the device does not always have connectivity because it is used by a seller on the street. When it has connectivity it saves…
-
0
votes0
answers31
viewsAjax jquery error requesting rss
I’m trying to get the G1 RSS which comes in XML but error No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.…
-
0
votes2
answers339
viewsText suggestion
I am creating a form and would like to know some way where I start typing a word and it starts to show me suggestions, identical as it works travel shopping at the airport or on various websites…
-
0
votes0
answers154
viewsHow to use AJAX to update HTML elements without loading?
Can anyone indicate me a good article that explains well the use of AJAX? Or even that can better explain its operation? Thank you!
-
0
votes1
answer624
viewsUpload in Submit form AJAX
I have a form where I send data through AJAX jQuery. However, I would also like to send a file. How do I add to my code? var formData = { 'titulo': $('input[name=titulo]').val(), 'tipo' :…
-
0
votes0
answers552
viewsDoubt in the database update through a modal
I have a form through a modal, where it performs updates in the Mysql database. However, there are times when clicking on "Forward" the action is not executed, and at other times the action works…
-
0
votes0
answers28
viewsPage load equal G+
I’m taking a risk in PHP and making a simple administrative panel, without framework, to manage registered users, how can I load pages in the admin without reloading the side menu and the navbar…
-
0
votes1
answer104
viewsPrime faces,play data from a datatable for a dialog
screen contact <?xml version="1.0" encoding="utf-8" ?> <p:growl autoUpdate="true"/> <p:panel header="Formulário" id="panel"> <h:panelGrid columns="2"> <h:outputText…
-
0
votes1
answer1184
viewsJavascript to check if popup blocker is active
I need to do Javascript for an application that checks if the popup blocker is active. I have the following code: $(window).ready(function(){ var Janela = window.open('', '', ''); if(Janela==null){…
-
0
votes0
answers304
viewscapture html from an external page take table data and send via Ajax
Next, how can I capture pure html from a page, for example "site.com.br/tabela_precos" this site has a return basically like this: <html> .... arquivos e configurações javascript .... outras…
-
0
votes1
answer868
viewsModal Window and Data Manipulation
I have the following question: I am working on a project where I have a registration form and I need to open a modal window to include an address in a form. Example: In my form I have 3 types of…
-
0
votes1
answer622
viewsWebsite navigation without Reload using ajax does not work properly
all right? Next, I’m making a website with navigation on AJAX, so that it is not necessary to upload the site every time you visit a page. Home, news, contact, etc.. I managed to do the site, update…
-
0
votes1
answer1354
viewsConvert Json to Array with Jquery
I’m making an ajax request with jquery and Php like this: // arquivo php $json = array( "status"=>"true", "message"=>"inserido com sucesso" ); echo json_encode($json); . // arquivo js $.ajax({…
-
0
votes1
answer349
viewsUse comboboxes to list cities and neighborhoods
I want users to select the city and neighborhood where they are and then the city and neighborhood where they want to go through 4 comboboxes. The data is being pulled from the database, and the two…
-
0
votes1
answer170
viewsClick and pass url to php using ajax?
How do I grab the link when clicking ? example: I have an iframe with a link that directs to a page, I want to take this link, and pass via ajax pro php.
-
0
votes1
answer902
viewsJquery window.open in "Success" in ajax is being blocked
I would like when saving an input and updating the div with the new information, in the return message "Success" ajax, to also print the div. Example success : function(response){…
-
0
votes2
answers1173
viewsFile request . txt via AJAX
I’m starting in my studies with Javascript with server interactions, and right away I can’t recover a text file to be shown via a Javascript Alert. From what I’ve studied, the file needs to be on a…