Latest Random JavaScript Tips http://www.webreference.com/js/tips/ Doc JavaScript's Tip of the Day Archive en-us Copyright (c) 2009 WebMediaBrands Inc. All rights reserved. sclark@internet.com (Scott Clark) lunderwood@internet.com (Lee Underwood) Defining the Constructor Function http://www.webreference.com/js/tips/020515.html Do you know how to define constructor functions in JScript.NET? Learn how each constructor function can assign its own unique values. Piggybacking Intrinsic Polymorphic Functions http://www.webreference.com/js/tips/020628.html What's the connection between the Object object and polymorphism? Learn how to use intrinsic polymorphic functions to create your own. Folder Operations and Properties http://www.webreference.com/js/tips/001118.html What kind of folder operations do you expect from a programming language? Check if JavaScript is up to par. The Scope of Function Code http://www.webreference.com/js/tips/010324.html Which this is this? Learn how to determine the scope of function code, and in particular, the identity of the this object. IE Event Bubbling http://www.webreference.com/js/tips/000131.html Are you familiar with event bubbling? Learn how it's implemented in Internet Explorer. Zooming In and Out of Elements http://www.webreference.com/js/tips/011002.html Do you know how to zoom in and out of a DIV element? Learn how to specify the zoom factor in STYLE elements. Examples for Applying Inheritance http://www.webreference.com/js/tips/020604.html Can you think about a past project where you could have used inheritance? Here are two classic examples for applying this powerful feature. Finding a File's Name and Path http://www.webreference.com/js/tips/001104.html What's in a name? Learn four different ways to find a file's name and path. Calling Web Services from JavaScript http://www.webreference.com/js/tips/020715.html Do you know how to call a Web service from JavaScript? Learn how to call the DHTML webservice behavior. Differentiating between Cookies http://www.webreference.com/js/tips/020109.html Do you know how to use cookies? Learn about the parameters used to distinguish between them. Application-Specific Protocols http://www.webreference.com/js/tips/011212.html Do you know what WSDL (Web Services Description Language) is used for? Learn how WSDL is used for specifying application-specific protocols. The Multiple States of XML Loading http://www.webreference.com/js/tips/020120.html Do you know how many states exist for XML loading? Learn about the four instances of readyState and how you can transition between them. Calling the IsPrime Web Service from DHTML http://www.webreference.com/js/tips/020713.html Do you know how to write a GUI to consume a Web service from a DHTML page? Here's an example interface for our IsPrime Web service. Relative Elements http://www.webreference.com/js/tips/011013.html Do you know the difference between "relative" and "static" positioning? Learn how to define relative elements. WMLScript Libraries http://www.webreference.com/js/tips/000612.html Do you know that WMLScript does not support objects and methods? Learn how its six standard libraries provide JavaScript functionality.