Category Archives: AJAX

Trigger Basic Auth Dialog with jQuery / AJAX

05 May 2017

We’re all familiar with basic authentication (or should be) – my experience with it has been via cPanel or doing it by hand on *nix servers. Once setup it just works. The other day I was integrating an app into a service where the dev environment had basic authentication on it. My AJAX calls were […]

Read More

IE 11 Emulates older IE, But Not Really; Long-Running Processes in IE 7 & 8

05 Apr 2015

JavaScript engines in modern browsers are pretty fast – so fast that its easy to forget that not every browser is as capable as the latest Chrome or FireFox builds where JavaScript performance is concerned. In this case I experienced thread-locking that caused the “Script is taking too long – stop the script or wait” […]

Read More

Mixing jQuery and reCaptcha in Forms

06 Oct 2013

The business of collecting user data includes the ubiquitous form. The thing with forms is that they are the first to see abuse on the Internet and if left unprotected your inbox or database will soon be overrun with spam. One of many methods of protecting forms is the CAPTCHA. CAPTCHAs require that a user […]

Read More

jQuery.parseJSON vs JSON.parse vs json_parse – Memory Profiles During AJAX Requests

10 Apr 2013

When doing an AJAX JSONP request with jQuery you rely on the jQuery.parseJSON method to parse the JSONP response into an object. While jQuery.parseJSON works most of the time I’ve seen it behave as if a memory leak is occurring. This isn’t new to jQuery.ajax() as it has somewhat of a history with memory leaks. […]

Read More

Using the Google Maps API to Get Locations from Zip Codes

14 Sep 2012

Google offers many API’s, among them is the Maps API. In this example we’ll show all the code necessary to hit Google with a zip code to get the location in the form of City, State and Country. As of June 22, 2016 you **must** apply for a Google Maps API key. All sites that […]

Read More