The Wayback Machine - https://web.archive.org/web/20161107222859/http://stackoverflow.com/questions/tagged/ajax

AJAX (Asynchronous JavaScript and XML) is a technique for creating seamless interactive websites via asynchronous data exchange between client and server. AJAX facilitates communication with the server or partial page updates without a traditional page refresh.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

Selecting and retrieving Data from a MySQL Database using PHP and AJAX

I'm trying to select data from a MySQL database that is hosted on a webserver. I want to be able to retrieve the data from a table within the database and then illustrate it within a HTML table. There'...
0
votes
0answers
3 views

Wordpress woocommerce how to custom default ajax on checkout form

So on my Checkout form I have 'State' and 'City' field and because I need a custom field that called 'Subdistrict' field so I create custom shipping field. (already work) the default from ...
0
votes
0answers
11 views

How to pass the id dynamically

I have a bootstrap modal for CreateClient which has 3 fields Name, ID, Location. When the user click on submit button i use AJAX POST to do the validation and make sure that the values are not in the ...
0
votes
0answers
5 views

Laravel 5.2 email unique jquery validate

I have a bootstrap modal but here server side validation does not show so i tried to validate in JQuery validate plugin and I'm trying to check for the email if it unique in JQuery validate but it ...
0
votes
0answers
9 views

Login Intel XDK with AJAX and PHP, MySql not works

I have this code $("#btn_log").click(function(){ var frm=$("#frm_usuario").serialize(); $.ajax({ type:"GET", ...
0
votes
0answers
20 views

How can I safely pass username/password from a custom form to django backend?

Django 1.8, jquery front-end I have a basic form, without sensitive data. However, if the user checks an optional checkbox field, it opens a modal form to prompt for authentication. When they input ...
0
votes
0answers
8 views

Problems with ajax in WordPress plugin

Iam trying to make a plugin folowing an online corse on WP plugins. Iam having grave difficulties with the ajax part of the plugin (its an email list builder). This is my .js jQuery code that is ...
0
votes
0answers
3 views

Downloading a file from REST Service using jQuery Ajax

I have a REST Service that returns a Stream of different kinds of files and simple hookup to the Service from a HTML page that prompts for download. My REST Service looks like the following: [WebGet(...
0
votes
0answers
6 views

create a cascade dropdown with javascript using sharepoint 2010 rest api

I am working on building a html page that pulls information from a sharepoint 2010 list. I need some assistance creating a cascading dropdown using 3 columns from the list. Below is what I have so ...
0
votes
0answers
7 views

Request.getParameter has null value.

I am trying to just print out two simple parameters . The parameters values though are null, although i can see them on the request payload. When in sendAjaxPost the values are correct. The request....
0
votes
1answer
21 views

Passing variable to function and back

I'm trying to figure out why this isn't working. I thought I understood scope... var admin_data = false; function getPlayerAdmin(){ var formData = { 'player_id' : $('#post-v').attr('data-...
0
votes
2answers
15 views

Changing data-tooltip with AJAX isn't working

I have a button in my html template: <a class="tooltipped" id="stash_recipe_tooltip" data-position="bottom" data-delay="50" data-tooltip="{{ stash_tooltip }}"> ...
-1
votes
0answers
9 views

Internal Server Error, when sending an ajax request, only when my controller call another method

I keep getting an internal server error when I send an ajax request, but this happens only when I call another method in my controller. The ajax request works perfectly when I don't call an external ...
-2
votes
0answers
34 views

Executing a php script after an ajax success

I am new to ajax and don't even know if this is possible but I need to be able to run a php script after a successful ajax call. Here is an example of my code if($svn_update == 'Update' && $...
-1
votes
1answer
18 views

Can I use .load() JQuery function to process a form?

I have a simple question. I have searched online for the answer but have not found one. Basically, I have an ASPX page form.aspx that contains a form and logic to handle that form in the code behind....
1
vote
1answer
22 views

Why this form won't call the JS function? (trying to get an autocomplete form field calling a MySQL database with a PHP script and AJAX)

I'm trying to use the .autocomplete() function of jQuery UI with a list of usernames taken from a MySQL database (using a PHP script), but for some reason is not working. The console won't show me any ...
0
votes
1answer
17 views

Ajax & WordPress on Front End - Database not updating

So I'm working on a WordPress website. I'm having a bit of a difficult time getting the user input to update the database. JS: var ID = $(this).attr('id'); var name = $("#name_input_"+ID).val(); ...
0
votes
2answers
26 views

PHP Streaming and jQuery

What is the best way to display or deal with a large result on success while waiting for PHPto render that result. I would like to use jQuery to submit a form, have PHP process it, and give output/...
-1
votes
1answer
17 views

Validating input box while form submit

I've made a form where input boxes will appear dynamically where some have required="required" and some doesn't. I'm submitting this form with ajax and I want to alert something through Jquery / Ajax ...
-1
votes
1answer
24 views

How to Implement AJAX in Angular 2 through a Javascript Function

I want to implement AJAX in Angular 2, but I don't now how to do this. I have my Angular 2 component: import { Component, OnInit, AfterViewInit } from '@angular/core'; declare var filter: any; ...
0
votes
0answers
28 views

PHP AJAX Internal Server Error 500

So, on my page http://www.buycheapvaporizer.com/products.php I'd like to load all the products from database using AJAX jQuery and PHP. Currently I am getting a internal server 500 error and when I ...
0
votes
0answers
4 views

Assign current class to category menu (ajax load)

When using this snippet i came across the following.. I used the code below to get posts and successfully working, but when calling function cat_ajax_get(catID) with onclick event, all menu items get ...
1
vote
0answers
10 views

Asynchronous checking inside the nested function using ajax [duplicate]

I have a function which does validation using ajax. It populates the array by reading the xml file. Right after reading the file, it checks whether the email supplied by the user is contained in the ...
0
votes
1answer
12 views

Laravel Eloquent Perform Live Search

I'm currently trying to implement a functionality for a live search. I have a table with just one important column (a name). Now if I type in an input field, for every letter I enter, the table is ...
0
votes
0answers
5 views

Ready page property from component October CMS

Can I read page property from another component? [myBasket basket] idElementTotalCartPrice = "#jkshop-total-basket" idElementWrapperBasketComponent = ".popup-content" productPage = "main" this part ...
0
votes
4answers
36 views

How to set a selected option using ajax?

I am new to jquery and ajax. I am trying to set a selected option in my dropdown using my ajax code below: $.ajax({ type: "POST", url: "sample.php", cache: "false", ...
0
votes
0answers
36 views

Jquery click event only works once with ajax call

Compiled through handlebars, I have a list of topics. You can click on the topic, and through an ajax call it will then create a popup with more information. You can close the pop up, but after the ...
0
votes
0answers
11 views

..NET MVC Accordion on ajax.ActionLink

I am using Ajax.ActionLink to send a request to my action method and update the SelectedSTRMList div with a partial view. I am trying to use an accordion to view the updated div. However, the partial ...
-1
votes
0answers
12 views

Create browser-based online game like travian PHP [on hold]

im thinking about development or at least trying to development a browser based online game with similar mechanics like Travian or Gladiatus. What i plan: Actions in the game will be time-based - ...
1
vote
1answer
18 views

How to send a file using AJAX call without form data

I need to send a PDF file from ajax to call to Django server, without form data
0
votes
1answer
10 views

Yii2 run JS-script on error ajax-validation

There is my form: $form = ActiveForm::begin([ 'id' => 'user-create-form', 'enableAjaxValidation' => true, 'enableClientValidation' => false, 'validationUrl' => ...
0
votes
0answers
13 views

JQUERY / AJAX: Keyboard's Arrow Down Or Up Disappears and Enter Button Not Working with a List Autocomplete

I am a newbie to JQUERY / AJAX, and I really need some help figuring this out due to I have been working on this problem for over a week with no success. I've got a search box that has a keyup ...
0
votes
0answers
4 views

Write HTML Text is not working after Ajax call

Please tell me why on earth the text "Result1" is not written to the html page even if the condition ViewBag.Publish != null. What happens after ajax request so that the View is not updated ? please ...
0
votes
3answers
24 views

Async:False not working

I am using async:false. Therefore in case of success function, it should wait till it gets a response from the function and should stop executing the code that follows the success function. However ...
2
votes
0answers
17 views

angular data binding not working on elements added with d3.js

I'm trying to make a bubblemap using d3.js and an external json file. I use angular to show/hide bubbles based on checkboxes. This is the code for my checkboxes: var app = angular.module('myApp', [ ...
0
votes
0answers
28 views

PHP JQuery Ajax Inline Editing with select option

I'm using a php jquery ajax inline editing system which works the way it's supposed to until I add in a select option list. Below is the jquery and php/html layout from the project I'm working on, ...
0
votes
2answers
22 views

server side independant application

found a lot of close answers but nothing corresponding exactly to what i'm working for, so here goes. i have a web application (html/css front end, js ajax calls to php scripts on server) which i ...
0
votes
1answer
8 views

ajaxstart not working after sometime

i have this code in my jquery file which works fine but if the site kept idle for some time like 5 minutes,then it is not working.i couldn't able to find why this happens, please suggest me what are ...
-3
votes
2answers
47 views

jquery $(data).each doesn't work with promises?

I have an each() loop in my AJAX handler to do push into my temp array, but in the end I still get an empty array. It's strange, I remember I once use promise on each() so it has no problem. var ...
0
votes
1answer
49 views

server side c# method is not calling from ajax - asp.net

I am trying to cal a c# method using ajax as below. <a href="#divrecentQ" id="linkdivrecentQ" onclick="lnkClick();" aria-controls="divrecentQ" role="tab" data-toggle="tab">Click here</a> ...
0
votes
2answers
49 views

Javascript does not work after ajax call

I'm trying to do an Ajax call to get more data on click. It hass worked at the first click, but after that I can't click the button anymore, also the data I received not apply any javascript (like ...
-2
votes
0answers
32 views

How to create a single page application using AJAX and JQuery? [on hold]

I want to create a page where I have a header, footer and then div in the middle where I use $.load, $.get to pull new data into that div without reloading the page.
1
vote
3answers
38 views

jQuery check if Checkboxes are on page

I have a form that loads via ajax. Depending on the parameters sent to fetch the form, the form may have no checkboxes or it may have one or more check boxes. I want to check if a checkbox is ...
0
votes
4answers
26 views

update a value BEFORE running a function containing ajax

On page load, the code below performs an api request and returns the result. I then have some code that on change of a selector updates one of the variables with the value of that selector and then re-...
0
votes
0answers
8 views

AJAX call is not performed when trying to sort by a column in JQGrid

I have the following jqgrid: $('#tabla-disponibles-zonas').jqGrid({ url: '@Url.Action("DisponibleZonas")?' + getReportParameters(), datatype: 'json', ...
0
votes
1answer
34 views

Ajax setRequestHeader, i can't get values on the server side

I am sending request header using XMLHttpRequest : liveXhr.open("GET", url, true); liveXhr.setRequestHeader("keychain_id", signatureKEYCHAINID); liveXhr.setRequestHeader("timestamp", signatureTS); ...
0
votes
0answers
10 views

Not able to Access JSON file placed locally in IE11 through jquery ajax call

I am trying to load json file in htm page in IE11 browser. The file is placed locally (Data folder) and the htm page is also in the same folder. $(document).ready(function(){ $.ajax({ ...
1
vote
0answers
18 views

Angularjs does not pass scope.watch value to another controller when cache:false

Angular js is not passing scope.watch values to other controller, when I use cache:false in app.js. I can pass the value when I don't use cache:false. Please help someone .state('tab.dash', { url:...
-1
votes
2answers
34 views

Error 405: Method Not allowed flask, ajax

Just trying to submit the form data to the MySQL DB using Ajax & Python- Flask, but the same error "method not allowed" appearing again and again.. kindly look at the codes and help me out... <...
1
vote
2answers
24 views

Using promises to get ajax data

I have been trying to get the remainder of my code to wait for an ajax call to run before executing as I need info in an array first. I have tried multiple approaches, but I cannot figure out why they ...

Stack Overflow works best with JavaScript enabled
Morty Proxy This is a proxified and sanitized view of the page, visit original site.