Select2 Ajax can't select options being pulled in from API

Ajax
I'm trying to use the data in my API to populate a select input. I'm using Select2 and have everything working but am unable to select anything once r...
6 months ago

Reload page after message is shown, jQuery

Ajax
Right now I have a form where user enters the info. It is than processed bu jQuery ajax function and is set to return false; so no page reload happens...
6 months ago

Playing sound when new message comes in

Ajax
I am making chat for my student group, and I am using AJAX to get my messages like this //Initial call i make so user do not wait 2 seconds for messa...
6 months ago

Jquery ajax calls, which is best?

Ajax
I have found this information on the web about jquery ajax requests. load(): Load a piece of html into a container DOM. $.getJSON(): Load a JSON wit...
6 months ago

get json information from node js server with ajax

Ajax
I am tryin get ajax call my node js server and get a json body back to the client. Here is my ajax call code. self.information = function() { ...
6 months ago

Validating params from two forms both using the same model in rails

Ajax
So I've recently implemented a phone/sim checker. The first form input requires the user to input their phone number. If the phone number exists in th...
6 months ago

Apply WooCommerce Coupon code to checkout

Ajax
I am trying to create a "Product Redeem Page as shown in this tutorial on SitePoint. Problem is that the product does indeed gets added to the cart a...
6 months ago

jquery click doesn't work on ajax generated content

Ajax
I am using $(".button").on("click", function(){ }); to click to a button which is on a container but then an ajax call is done and the content gets ...
6 months ago

I have this code and I have no idea what is wrong

Ajax
$(document).ready(function() { $.ajax({ type: 'GET', url: 'data.json', dataType: 'json', success: jsonParser }); }); ...
6 months ago

Translate messages using ajax form to login

Ajax
I'm using symfony 3.2 and I'd like to login with ajax form. Everything works fine except messages are not translated. this is the AjaxAuthenticationF...
6 months ago

Unable to extract the string i want from the ajax post

Ajax
In my asp mvc project i've got an ajax call that posts the value of a dropdown list and i want the session to be set with this value. $('#dropDow...
6 months ago

URL Navigation in an AJAX Based Website?

Ajax
I would like to develop a website with fully ajax navigation, but this means that users cannot share, bookmark, or go straight to certain content. I...
6 months ago

send File and Data in Ajax

Ajax
I'm trying to send file and data together to Controller when I send File it work correctly but When I try to send data and file nothing I get. conte...
6 months ago

jQuery recursive function select children

Ajax
I have a jQuery recursive function which parses my xml data however I am trying to select the children of the child element, so basically the element ...
6 months ago

passing url of method in controller , in ajax call

Ajax
Here is my ajax call <script> jQuery(document).ready(function() { $("#VEGAS").submit(function(){ var form_data = $("#VEGAS").serialize(...
6 months ago

Return an object with multiples attributes in ajax

Ajax
I created the object and put some attributes: dynamic oReturn = new ExpandoObject(); oReturn.Name = name; oReturn.Editing = editing; oReturn.Img = im...
6 months ago

Updating Location on Google Maps - API

Ajax
Currently working on a small project and can't get my head around an issue I'm facing with the updating the location on a Google Map via the API. Qui...
6 months ago

How to programmatically prevent web page to refresh for specific period of time?

Ajax
I am working on specific mobile wireframe web page, where after loading of web content body for user starts timer and during this time user is about t...
6 months ago

Grunt did not run qunit test with ajax calls

Ajax
I created QUnit test to ensure that my JSON loaded and parsed to array correctly via AJAX, it all works fine in browser, but when i run it via Grunt i...
6 months ago

Display content from AJAX request using setState

Ajax
I'm doing a webapp using github search API. I want the info for each repo to be displayed under the specific repo. I want the content from the AJAX re...
6 months ago