Javascript

Stuart on January 17th, 2007

JavaScript Form Validator This is an updated and improved version of AJAX Generic Form Parser Our updated JavaScript code is smaller, prettier :) and more powerful (just). That’s nice, but what does it do? Well it validates your form stupid!! as with most (if not all?) posts on this website, the script is simple, easy [...]

Continue reading about JavaScript Form Validator number two

Stuart on July 7th, 2006

AJAX Generic Form Parser – With Validation: In this tutorial I’ll show you a simple method to pass any HTML form through AJAX without the need to hard code all form fields into the JavaScript or Server Side Script. Using this simple piece of JavaScript you can reuse it as is with any form, saving [...]

Continue reading about AJAX generic form parser

Stuart on March 15th, 2006

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 [...]

Continue reading about JavaScript Cookies