Latest Random JavaScript Tips http://www.webreference.com/js/tips/ Doc JavaScript's Tip of the Day Archive en-us Copyright (c) 2008 Jupitermedia Corporation. All rights reserved. sclark@jupitermedia.com (Scott Clark) nsegal@jupitermedia.com (Nathan Segal) The setCapture() Method http://www.webreference.com/js/tips/000715.html Do you know how to force event communication from a document fragment to its master element? Learn how to use the fireEvent() to force event onto the primary document. Setting the Number of Decimal Digits http://www.webreference.com/js/tips/011017.html Do you know how to set the number of digits after the decimal point? Learn how to do it before and after IE 5.5. Installing the JScript .NET Compiler http://www.webreference.com/js/tips/020418.html Do you know what the .NET Software Development Kit (SDK) includes? Learn how to access the JScript .NET compiler (jsc.exe). Trimming Decimal Numbers http://www.webreference.com/js/tips/000909.html You converted Gilders to Euros and got 2.345678904557788. How do you fit it in your database? Learn how to trim it with Internet Explorer 5.5. Formatting Numbers http://www.webreference.com/js/tips/000505.html Do you know that IE 5.5 may simplify your code? Learn about its new built-in number formatting capabilities: toFixed(), toPrecision(), and toExponential(). Exposing Class Properties http://www.webreference.com/js/tips/020517.html Did you know there's more than one way to change a class property? Learn how to manipulate it using external code. Detecting a Selection http://www.webreference.com/js/tips/011021.html Did you know that the selection in Netscape 6 behaves slightly differently than in Explorer? Experience for yourself how your browser detects a selection operation. Justifying XML http://www.webreference.com/js/tips/011225.html Do you know why XML has become so popular? Learn about its distinctive advantages over HTML. Writing Dialogs with JScript .NET http://www.webreference.com/js/tips/020821.html Do you know how to create dialogs between JScript .NET and the user? Here's another example using the System.Console class. Setting the Background Color http://www.webreference.com/js/tips/000312.html Do you know how to set an element's background color? Use bgColor or backgroundColor. Randomizing a Link http://www.webreference.com/js/tips/000927.html How many ways do you know to script random banners? Here is a simple script for picking a random link. Assigning a Short Name to a Web Service's URL http://www.webreference.com/js/tips/020329.html Do you know how to assign a short name to a long Web service URL? Learn how to prepare for calling the Web service. Extracting the Document's HTML http://www.webreference.com/js/tips/011026.html Do you know how to extract the HTML from a document? Learn how to create a text range for a document, and how to assign its content to a property. The SqlDataReader Class http://www.webreference.com/js/tips/021012.html Do you know how to ensure that all records are read from a database? Learn about the roles and responsibilities of the SqlDataReader class. Checking for an Enumerable Property http://www.webreference.com/js/tips/010312.html How do you find out whether a property is enumerable? Learn how to create and check for enumerable properties.