by the3factory
4/12/2008 9:01:00 AM
Many times we want to execute ASP.NET Server Side Events using JavaScript. What about calling a TextChanged Event on the onchange javascript event of a textbox control. It can be done quite easily without giving pain to our brain too much.
Background
In one of our ASP.NET Web Form which is a pa...
[More]
by the3factory
3/31/2008 10:30:00 PM
Download code
article describes how you in JavaScript, which doesn't support object-oriented features, make up for all it's limitations by using some simple conventions, rules and tricks.
If you are familiar with standard features - skip the following chapter.
Standard Object-Oriented Jav...
[More]
by the3factory
3/26/2008 6:25:00 PM
Download code
Introduction
To display the remaining minutes as a counter for a Session to timeout on the webpage that will change after every minute and a message will be displayed when the Session timeout will be equal to 0 (zero).
One thing to keep in consideration that the code pr...
[More]
by the3factory
3/25/2008 7:00:00 AM
You should now have a complete script that calculates a result and displays it. Your listing should match Listing 2.1.
Listing 2.1. The Complete Date and Time Script
<script language="JavaScript" type="text/javascript">
now = new Dat...
[More]
by the3factory
3/25/2008 6:58:00 AM
JavaScript is not the only language used on the Web, and in some cases, it may not be the right tool for the job. Other languages, such as Java, can do some things better than JavaScript. In the following sections, we'll look at a few other commonly used web languages and their advantages.
Java
...
[More]
by the3factory
3/23/2008 6:06:00 AM
Download code
Download Humax v0.2.1 at http://humax.sourceforge.net for API reference with extensive tutorials.
Pre-requisite
You need to know Humax delegate concepts.
Asynchronous operations are typically used to perform long running tasks and tasks which are not expected to be runnin...
[More]
by the3factory
3/23/2008 5:56:00 AM
A useful tool whenever you work with Javascript and the compatibility issues between navigators.
You can inspect any Javascript Object and list them indented, ordered by levels.
It shows you Type and Property name. If an Object Property can't be accessed an error message will be shown.
Using th...
[More]
by the3factory
3/15/2008 7:55:00 PM
Download code
Introduction
I recently had the need for a DOS-like console I could put in a browser and manipulate with JavaScript. Specifically, I needed a "window" with a fixed number of rows and columns, that could have text printed to it. The text would wrap at the end of each line, a...
[More]
by the3factory
3/13/2008 7:35:00 AM
There are a number of cases in which you might not have XMLHttpRequest support. The most common would be in the case of an older browser. This is the hardest to work around, not because there is no AJAX fallback, but because all the other DOM manipulation that you do within the application won't wor...
[More]
by the3factory
3/13/2008 7:33:00 AM
Synchronous requests are easier to use than asynchronous requests because they return data directly and remove the hassle of creating callback functions. However, they aren't the standard use case for XMLHttpRequest because the entire browser is locked while the request is happening. There are some ...
[More]
by the3factory
3/5/2008 10:58:00 PM
Download source
Why JQuery?
Why indeed? There are several drag and drop libraries available for free. Take Microsoft ASP.NET Ajax, for example. Unfortunately, the Microsoft Ajax Library is not developer friendly, meaning it is darn complicated to use. So, if you are looking for some head-banging...
[More]
by the3factory
3/3/2008 11:05:00 PM
Here are 10 visual exmples to demonstrate on how to use jQuery to enchance user experience and semantic web design .
Download
by the3factory
2/29/2008 11:29:00 PM
SWFUpload is a small JavaScript/Flash library to get the best of both worlds. It features the great upload capabilities of Flash and the accessibility and ease of HTML/CSS.
Upload multiple files at once by ctrl/shift-selecting in dialog
Javascript callbacks on all events
Get file in...
[More]
by the3factory
2/29/2008 6:34:00 AM
The JavaScript language has evolved since its original release in Netscape 2.0. There have been several versions of JavaScript:
JavaScript 1.0, the original version, is supported by Netscape 2.0 and Internet Explorer 3.0.
JavaScript 1.1 is supported by Netscape 3.0 and mostly...
[More]
by the3factory
2/29/2008 6:28:00 AM
As you hopefully already know, HTML is the language you use to create web documents. To refresh your memory, Listing 1 shows a short but sadly typical web document.
Listing 1A Simple HTML Document
<html>
<head>
<...
[More]