JavaScript Tutorials, Tips & Tricks


JavaScript is an open scripting language that enables Web authors to design interactive sites. Can interact with HTML source code and is supported by most browsers.

jQuery AJAX Tutorial, Example: Simplify Ajax development with jQuery

jQuery, the JavaScript library provides some powerful set of jQuery AJAX API's to handle AJAX requests. The normal way of making AJAX calls using JavaScript is a bit odd as you have to first create an XMLHttpRequest object that depends on the browser and then make an AJAX call. Also sending a form data using AJAX ...

Tutorial: Handle browser events using jQuery JavaScript framework

Tutorial: Handle browser events using jQuery JavaScript framework
Handling events in today web browser is a bit difficult part as different browser handles events in a different way. Hence to overcome these cross browser problems, one can leverage the Event handling APIs of jQuery.jQuery is a small JavaScript library that provides a vast number of APIs to handle different browser events and effects ...

Implement simple font zoomer in JavaScript & HTML

Implement simple font zoomer in JavaScript & HTML
A lot of websites on internet provide users with an option to increase the font size of the page for better reading experience. Although nowadays almost all the web browsers supports zoom in/out functionality using mouse wheel scroll or other shortcut keys, it is sometimes a good idea to give user a way to increase/decrease the ...

Multiple Selection Listbox Javascript Problem in MS Internet Explorer

Multiple Selection Listbox Javascript Problem in MS Internet Explorer
Last night I came across very weird problem of JavaScript. I wrote a JavaScript code to select all the option of the list. Let's take following example for demonstration. HTML code:1 2 3 4 5 6a b c dselect all numbers select ...

Dynamically Add/Remove rows in HTML table using JavaScript

Dynamically Add/Remove rows in HTML table using JavaScript
A good web design involves the better user interaction and ability to fetch the data in a better way. For fetching user data, you may have to create a form wherein user can add multiple entries and submit them simultaneously.Thus for this you will need a way to add or remove fields dynamically into the HTML page. In my previous article, I ...

How to apply HTML User Interface Effects using jQuery.

jQuery is a small and wonderful JavaScript library that I use extensively in my work. I thought to write a tutorial about achieving UI Effects through jQuery. In this post, I explained how to do fade in/fade out effect using jQuery. This time let us see all the tricks that we can do to manipulate ...

Creating & Parsing JSON data with Java Servlet/Struts/JSP

Creating & Parsing JSON data with Java Servlet/Struts/JSP
JSON (JavaScript Object Notation) is a lightweight computer data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects). The JSON format is specified in RFC 4627 by Douglas Crockford. The official Internet media type for JSON is application/json.The JSON format is often used ...

Handling Session timeout & other server http errors in AJAX

Handling Session timeout & other server http errors in AJAX
AJAX has really changed the way we build web applications.When I surf internet today, I find almost all the websites Ajaxified in some way. Writing an AJAX application is as simple as writing simple JavaScript methods and some server side code. I have been writing AJAX codes since a long time now and believe me tge most ...

Introduction to DOJO Toolkit

Introduction to DOJO Toolkit
Introduction - Dojo is an Open Source DHTML toolkit / Dojo is JavaScript framework released as open source software. - Dojo delivers on the promise of Web 2.0 terms like Comet and Ajax by helping you create rich and interactive web apps. - It builds on several contributed code bases like widgets. It is unified toolkit. - ...

Compress PHP, CSS, JavaScript(JS) & Optimize website performance.

Compress PHP, CSS, JavaScript(JS) & Optimize website performance.
Since few days we have been registering heavy traffic spikes on our website. This lead to performance issues. As this site is currently hosted on a shared hosting server, it is very difficult to optimize the performance of the site.We are using Wordpress as CMS for this blog, hence we decided to ...
Page 4 of 6« First...23456
Copyright © 2012 ViralPatel.net. All rights reserved.