In a recent project, there was a need to make ajax calls to a remote server in a sequential manner to synchronise data. Each call would wait for the previous one to complete, before triggering the next one. See the code here.
- Home
- Posts tagged "jQuery"
Posts tagged "jQuery"
NodeJS: Scraping Websites Using Request and Cheerio
I’ve recently been using nodejs to build website scrapers quickly, and usually in less than 100 lines of code. This tutorial shows how you can easily create your own scraper using two nodejs modules: request and cheerio.
JavaScript, jQuery, NodeJS, ScrapingWufoo JavaScript Forms with Facebook Login
Wufoo offers a great way to create forms easily, be it for competitions, suggestions or just general contact information. With this tutorial, you can learn to extend the Wufoo forms with Facebook functionality, so you can prefill the fields.
Facebook, JavaScript, jQuery, WufooWufoo HTML Forms with Facebook Login
Wufoo offers a great way to create forms easily, be it for competitions, suggestions or just general contact information. With this tutorial, you can learn to extend the Wufoo forms you create with Facebook functionality, so you can prefill in and automatically submit forms.
Facebook, JavaScript, jQuery, WufooFacebook API: Adding Action Links to Posts
Action Links are a good way to add an extra call to action (CTA) beside the Link and Share links on Facebook Posts. This tutorial shows you how to add action links in both PHP and JavaScript.
Facebook, Facebook Graph API, JavaScript, jQuery, PHPCodeIgniter: Using CSRF Tokens to Secure Your Application
Protecting your CodeIgniter application from CSRF / XSRF attacks is easy, thanks to the framework’s security features. CSRF protection can be enabled in a matter of minutes, and it doesn’t take long to make existing forms and AJAX calls compatible with the feature.
CodeIgniter, jQuery, PHP, SecurityGeolocation Using HTML5, jQuery and Google Maps (Interactive Version)
Following on from the Static Google Maps example with Geolocation, this tutorial looks at creating a Interactive version using the JavaScript Google Maps API.
Geolocation, HTML5, JavaScript, jQuery, TutorialFacebook API: Tracking Shares using the JavaScript SDK
Tracking Facebook Shares on your website or application is a useful way of seeing how popular your articles are with your readers. In order to tracking Shares, you must used the Facebook JavaScript SDK.
Facebook, Facebook Graph API, JavaScript, jQuery, Tracking, TutorialGeolocation Using HTML5, jQuery and Google Maps
Geolocating a user using their browser (if supported) is quite easy using HTML5 and JavaScript / jQuery. In fact, it can be done in under 50 lines of code. Here’s my quick and dirty tutorial on doing just that.
Geolocation, HTML5, JavaScript, jQuery, Tutorial