JavaScript and AJAX Web Development Tutorials

JavaScript, jQuery and AJAX (Asynchronous JavaScript and XML) Tutorials.
  Title / Author Replies
Views
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,363
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,680
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,552
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,619
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
2,066
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,630
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
922
Desktop notifications for web applications is a great plus, the user can be notified irrespective of the current window/tab they are using. Chrome, which has the largest share of the browser market, supports desktop notification, also Safari, or any webkit based browser. You can easily...
1
1,379
There are multiple ways to attach an event handler in jQuery but all of them does not function exactly the same way. If there are elements created after DOM is loaded, then not all the events associated with them would be triggered if you have not attached the event handlers correctly. Example ...
0
7,306
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,728
AJAX was a boon to web development and web applications like GMail etc. millions of site have since implemented AJAX based features on their websites, the idea of asynchronously accessing content was wonderful but AJAX was limited only to the same domain (same origin) as the page requesting the...
0
2,767
Have you ever wondered when you see form on some website submitted in a fraction of a second? Have you ever wanted such forms on your site? This is it. Let us take a sample form. <form method="post" action="SubmitToSomeFile" id="frm" accept-charset=UTF-8 name="frm"> <table...
5
9,208
Sometimes we need the user to enter only numbers in a text field, so I have some up with a small piece of JavaScript to do exactly that. It works for both IE and Firefox. function onlyNumbers(evt) { var e = event || evt; // for trans-browser compatibility var charCode = e.which ||...
18
202,583
JavaScript is widely used for client side scripting ranging from simple effects to creating a rich UI like GMail. A significant operation with the client browser involves working with the browser window, like scrolling, resizing popup window, detecting window resize by the user, opening new...
1
2,998
JavaScript, the most popular & most used client-side scripting language on the internet is really powerful in creating rich user experience by itself. One of the best example of JavaScript excellence is the jQuery library which has helped developers all over the world to build the business...
0
2,892
It is highly recommended that you are familiar with HTML and Javascript before reading tutorial. Notice that this article is only glimpse on this topic, it barely covers all the AJAX features and stuff. This tutorial will show you how 'Ajax' works and how to use it from a web developer's...
2
2,532
The Javascript Code : function autoCompleteDB() { this.aNames=new Array(); } autoCompleteDB.prototype.assignArray=function(aList) { this.aNames=aList;
37
68,041
Feedburner statistics are not part of Google Analytics and I couldn't understand why but you can track Feedburner Email Subscription Form Submission in Google Analytics Very easily. Activate Email Subscription for your Feed in Feedburner and grab the HTML code of your subscription form. The HTML...
0
3,375
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,502
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
376,577