Concurrent Connections with Ajax Here’s an quick example of an ajaxed application with multiple connections. You have your main page (lets say index.htm), when it loads it calls in various content using ajax (lets say we call in navigation.php, products.php and basket.php). So navigation.php, and products.php load fine but basket.php fails!! Hmmm, what a pain [...]
Continue reading about Ajax tip of the day – Concurrent Connections
Max Kiesler has created a list of 30 Ajax Tutorials covering various common usages. Tutorials cover: Ajax Client-Server Communication Ajax Drag and Drop Ajax Forms Ajax File Uploader Ajax Framework and Toolkit Ajax Getting Started Ajax Image Gallery Ajax Keyword Suggest Ajax Live Search Ajax Sorting Ajax Tabbed Pages Although not all of these actually [...]
Update: The website mentioned below is no longer live. I will keep the post active for historic purposes, but the links have been removed. You may be interested in some example ajax code posted over on funwithjustin. He has some nice simple examples which are available as demos on his site and also available for [...]
JavaScript Cookies If like me you usually create your cookies using a server scripting language like PHP, you may find that using JavaScript for cookies is simple. Im going to show you how to create, edit, delete and read cookies using only JavaScript. Creating JavaScript Cookies: function createCookie(name, value, days) { if (days) { var [...]
Basic Ajax Functions I’ve created a list of very common JavaScript functions for Ajax. They have been created in quick reference fashion and do not contain any fancy stuff. Instead of creating one function which can handle various tasks depending on passed values, they are split into seperate basic task functions. The reason for this [...]