JavaScript and AJAX Web Development Tutorials

JavaScript, jQuery and AJAX (Asynchronous JavaScript and XML) Tutorials.
  Title / Author Reverse Sort Order Replies
Views
Today, we'll see how to implement a bouncing ball in javascript. The ball will bounce all around the page and we will also introduce a gravity factor to make the ball slowly come to rest. The technique is what is important here. It can then be used in any kind of moving-object animation. What...
4
13,025
JavaScript is the scripting language and is used for the web. It is used webpages for validating forms,adding different functionalities , for detecting different browsers and creating cookies. One can also improve the design of web page using JavaScript. With the help of JavaScript one can work on...
14
7,941
Introduction Regular expressions is a form of pattern matching that you can apply on textual content. Take for example the DOS wildcards ? and * which you can use when you're searching for a file. Creating a Regular Expression You construct a regular expression in one of two ways: 1)...
4
37,977
While designing web pages we several time needs scripts that check our data and validate it. Checking Email address file is one of the most commonly used scripts which we need for all registration purpose. While checking email, we need to focus on following points. An email address...
4
7,240
So i was working on an awesome project when i wanted to extract GET parameters from the URL string. Like in php $_GET, i need to use javascript since the front end is building on an REST API . You probably should ave seen this feature used in google search and may others, but the problem is...
0
3,576
Get The Most Out of AJAX AJAX is a disruptive technology that's changed the way Web apps are developed and used. It allows for interactive pages and sits on the cutting edge of current Web trends. Although the term AJAX is relatively new, the technologies behind it are not. For many years the...
0
5,253
The DOM consists of several objects for manipulating the data. The DOMDocument object is the main object of the DOM. The op node of the tree is represented through this object. The XMLSchemaCache object is used to load the schema associated with the XML document. Some of the methods provided by...
0
3,286
The DOM enabled parser is used for accessing the features of the application. The parser reads the XML document and parses to check that it is valid. The in memory representation of the XML document containing the elements is organized in the tree structure. There are nodes in the structure. ...
0
3,236
There are two elements that are used to specify conditions for formatting: The if element The choose element 1. The if element In XSLT, the if element provides a if – then construct. The syntax of if element is as shown below: <xsl: if test = “condition” >
0
4,031
XML is used for designing the web pages in an application. XML means Extensible Markup Language. It is a markup language containing tags to define data. The tags used in the language contain the content specific meaning. The data is stored in a structured format. XML is a cross platform, hardware...
0
810
When the user creates a document in HTML, the browser is capable of understanding and using the tags. When XML is used, the browser does not know how to display the elements. The XSL language is used for this purpose. The XSL language has two parts as follows XSL Transformation (XSLT): The...
0
1,517
An XML document consists of several elements. The XML schema defines the list of elements and attributes that can be used in the XML document. The orders in which the elements appear are defined in the XML schema. The XML Schema Definition (XSD) defines the schema of the XML document. XML Schema...
1
1,738
The include element The element is used to refer to an external schema located in a definite address. The syntax for using the element is as shown below: <include id="ID" schemaLocation="filename" /> The element contains two attributes as id and schemaLocation. The id specifies the...
0
2,296
I found that is difficult to search a simple javascript code about scrolling image slide. You can find them on Internet but they often are long and complex or hidden from us to prevent edit. I just found a simple way to resolve this. I hope it will help your editting easier to make it yours! We...
6
19,174
Well all would have at some point of time needed to make a timer in JavaScript. I have made a timer in Javascript. The script shows the timer in the status bar,you can modify it to display the timer anywhere you want. Check out the code below: var mins,secs,TimerRunning,TimerID; ...
12
128,133
All web developers require to implement some JavaScript in their web applications. JavaScript arrays support a few in-built array manipulation methods like push,pop, but we might require more like unshift, shift, sort, shuffle, contains, clear and others. In JavaScript array being an...
4
55,403
Sometimes, we need to rotate images on ours web pages, it may be ads or some simple images.Below you'll find the code for implementing the same. You can create as many image rotations you want, you just need to specify the urls of the images in an Array, and the object where the image will be...
26
374,091
Sometimes we need a sorted UL (un-ordered list) in a static page, like a blog, we can use JavaScript to the sort the list. I faced a similar problem with my blog, so I implement a simple bubble sort on the list, the list will be sorted if the browser supports JavaScript, else it will still...
5
47,720
We sometimes require to get the query parameters of an URL in JavaScript, here's how we can do that. // get the current URL var url = window.location.toString(); //get the parameters url.match(/\?(.+)$/); var params = RegExp.$1; // split up the query string and store in an //...
3
72,991
jQuery is a client-side JavaScript library, the goal of the library is to simply the process of writing cross-browser JavaScript code. jQuery was created by John Resig and it was released to the public in 2006, jQuery is free, open-source and is dual-licensed under the MIT license & GNU GPL Version...
0
3,054