Archive for the ‘AJAX’ Category

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 ... Full story

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 ... Full story

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 ... Full story

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. - ... Full story

AJAX reloaded: Push Technology with Lightstreamer and Comet.

Nowadays, Web 2.0 has became a buzz word on internet. Lot of websites that you browser have that "rich" user interface with jazzy fonts and logos and ajax/javascript effects. AJAX has really changed the way we surf on internet. You see any cool web application like GMail or Google Reader, they look much like a ... Full story

AJAX cache problem in IE

Few days back I was working on a requirement where in a webpage one table was getting populated through AJAX. This table was getting refreshed every 5 mins as it was showing some real time data being processed in back end. To my surprise, the data in the table were not being refreshed and the output that I was getting was not the one that I ... Full story

AJAX Post method example using javascript & jQuery

Usually AJAX requests are send through GET method. This is because there are few parameters that one send while sending a request through AJAX and also it is relatively easy to create and send a GET method request. Following code is used generally to create a GET request through AJAX. function getXMLHttpRequestObject() { var xmlhttp; /*@cc_on @if (@_jscript_version >= 5) try ... Full story

Ajax style file uploading using hidden iframe

File uploading using AJAX is not possible. AJAX doesn't actually post forms to the server, it sends selected data to the server in the form of a POST or GET request. As javascript is not capable of grabbing the file from the users machine and sending it to the server, it's just not possible with AJAX. You have to resort to regular old form submit. If ... Full story
Copyright © 2010 ViralPatel.net. All rights reserved.