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) Passing Parameters to A Print Template (9/4/2001) http://www.webreference.com/js/tips/010904.html Do you know how to pass a command to a print template? Learn how to use the dialogArguments variable to communicate between two applications. The setExpression() Method (7/19/2000) http://www.webreference.com/js/tips/000719.html Can you name an IE5 feature that makes animation programming easier? Learn how to assign formulas to properties with the setExpression() method. Retrieving Element Event Location (1/22/2001) http://www.webreference.com/js/tips/010122.html Which element had triggered this event? Learn how to find the object that had asked for this event. WML's Events (6/9/2000) http://www.webreference.com/js/tips/000609.html Do you know how to use WML's event handlers? Learn how to implement a help card with WMLScript. Selecting Nodes with XSL Patterns (2/26/2002) http://www.webreference.com/js/tips/020226.html Do you know how to quickly select nodes on the DOMDocument tree? Learn how to use XSL patterns to select nodes. Using Frames in a Memory Game Board (4/11/2000) http://www.webreference.com/js/tips/000411.html How would you implement an 8x8 memory game board? Learn how we used column and row frames for it. Deriving HTML+TIME's Active Time (10/11/2000) http://www.webreference.com/js/tips/001011.html Do you know how to extract HTML+TIME's active time? Learn how to use the currTimeState object. Navigating Frames (4/7/2000) http://www.webreference.com/js/tips/000407.html Do you know how to go back and forth in one frame by clicking in another frame? Learn how to implement such a link by using the javascript: URL. Checking for Errors after Calling A Web Service (11/20/2001) http://www.webreference.com/js/tips/011120.html Mailing a Web Page (8/22/2000) http://www.webreference.com/js/tips/000822.html Wouldn't be nice to share this tip with someone? Learn how to send the current page to your friend. The Document's Virtual Root Node (12/20/2000) http://www.webreference.com/js/tips/001220.html Do you know how to reach the document's root in the DOM? Learn how to query the root as easy as any other node of DOM tree. Using the private Modifier (6/2/2002) http://www.webreference.com/js/tips/020602.html Do you know how to protect member classes from the outside world? Learn how to use the private modifier. Deploying Coordinated Universal Time (9/29/2001) http://www.webreference.com/js/tips/010929.html Do you know the TLA of UTC? Learn the origin and motivation behind UTC, how to use it in JavaScript, and how it's different from the date object. The Benefits of HTML+TIME (9/8/2000) http://www.webreference.com/js/tips/000908.html How much is HTML+TIME (Timed Interactive Multimedia Extension)? Learn how to use it to synchronize between text, image, video, audio, and streaming media. Scripting Multiple Elements with the Same ID (9/21/2000) http://www.webreference.com/js/tips/000921.html Some applications require different elements with the same ID. Learn how to distinguish between them in your script.