Posts Under 'JavaScripts'

The jQuery Form Plugin

The jQuery Form Plugin allows you to easily and unobtrusively upgrade HTML forms to use AJAX. The main methods, ajaxForm and ajaxSubmit, gather information from the form element to determine how to manage the submit process. The Form Plugin API provides several methods that allow you to easily manage form data and form submission. The […]

Read more »


RandomClass jQuery Plugin

RandomClass is a jQuery plugin to add a random class from a selection of classes to an element. There are different options available for how random the randomness should be and you can remove previously added classes if needed. Usage is very simple. Options for randomness are: ‘default’, ‘successive’ and ‘pattern’. Requirements: jQuery 1.3.2 and […]

Read more »


Google’s AJAX APIs

Google AJAX APIs – Google’s AJAX APIs let you implement rich, dynamic web sites entirely in JavaScript and HTML. You can add a map to your site, a dynamic search box, or download feeds with just a few lines of JavaScript. 1. Google Maps API – The Google Maps API lets you embed Google Maps […]

Read more »


Using POST method in XMLHTTPRequest(Ajax)

Requirements Create a XMLHTTPRequest Object that uses the POST method. var http = new XMLHttpRequest(); Using GET method Now we open a connection using the GET method. var url = "get_data.php"; var params = "lorem=ipsum&name=binny"; http.open("GET", url+"?"+params, true); http.onreadystatechange = function() { //Call a function when the state changes. if(http.readyState == 4 && http.status == […]

Read more »