


|
Did you learn something? Do you like the site? Please link to us! |
|
|
|


Doc JavaScript's Top 20 Tips
based on hits from Saturday, November 21, 2009
- 1. Passing Parameters to A Print Template
- Do you know how to pass a command to a print template? Learn how to use the dialogArguments variable to communicate between two applications.
Related categories: Applications and Games | URLs and Locations | Windows
Similar Tips - September 4, 2001 - Page Views: 42
- 2. Iterating over an Object's Properties
- You get an object and you don't know its constructor. Do you know how to find its property names? Learn how to iterate over an object's properties.
Related categories: Applications and Games | Objects | Syntax and Notation
Similar Tips - March 5, 2001 - Page Views: 35
- 3. Incrementing the Current Zoom Factor
- Do you know how to zoom in and out without prompting the user for the zoom factor? Learn how to increment and decrement the current zoom factor.
Related categories: DOM | Page Layout | Style Sheets
Similar Tips - October 7, 2001 - Page Views: 31
- 4. The setExpression() Method
- Can you name an IE5 feature that makes animation programming easier? Learn how to assign formulas to properties with the setExpression() method.
Related categories: Dynamic HTML | Internet Explorer 5.0 | Page Layout
Similar Tips - July 19, 2000 - Page Views: 29
- 5. Passing Parameters in JavaScript
- What's the difference between passing a parameter by value and passing by reference? Learn why you cannot change a variable by modifying it inside a function.
Related categories: Debugging | Numbers | Syntax and Notation
Similar Tips - February 10, 2001 - Page Views: 28
- 6. Using Response.Write()
- Do you know how to display information from ASP.NET pages? Learn how to use Response.Write() from JScript .NET code.
Related categories: Applications and Games | Dynamic HTML | Objects
Similar Tips - August 27, 2002 - Page Views: 24
- 7. A JavaScript Visitor Counter
- Real programmers write their own visitor counter. Here is a version that uses JavaScript cookies.
Related categories: History and Cookies
Similar Tips - March 30, 2000 - Page Views: 23
- 8. Mailing a Web Page
- Wouldn't be nice to share this tip with someone? Learn how to send the current page to your friend.
Related categories: Dynamic HTML | Links | URLs and Locations
Similar Tips - August 22, 2000 - Page Views: 20
- 9. The null Value
- Do you know how to use the null value? Learn how to take advantage of it.
Related categories: Numbers
Similar Tips - October 2, 1999 - Page Views: 18
- 10. Form Validation
- How do you make sure that applicants are high school graduates? Learn how to check form fields before submitting it.
Related categories: Forms
Similar Tips - January 24, 2000 - Page Views: 16
- 11. Modifying an Element on the Fly
- Do you know how to change an IE element on the fly? Learn what happens when you set one of the inner/outer text/html combinations.
Related categories: Dynamic HTML
Similar Tips - August 13, 2000 - Page Views: 16
- 12. Finding a File's Name and Path
- What's in a name? Learn four different ways to find a file's name and path.
Related categories: Objects | Operators | Syntax and Notation
Similar Tips - November 4, 2000 - Page Views: 16
- 13. Checking for Errors after Calling A Web Service
- #config errmsg=""
Related categories: Behaviors | Dynamic HTML | Objects
Similar Tips - November 20, 2001 - Page Views: 16
- 14. Displaying An Hourglass Cursor While Waiting
- Do you know how to ask the user to wait patiently until a task is done? Learn how to convert the mouse shape to an hourglass, and then back to normal.
Related categories: Behaviors | Dynamic HTML | Objects
Similar Tips - March 23, 2002 - Page Views: 16
- 15. Parent-Child Window Bidirectional Connection
- Can you think of an application that uses the opener property? Learn how to implement an application that runs on the target window and manipulates the source window.
Related categories: Windows
Similar Tips - June 10, 2000 - Page Views: 15
- 16. Scripting Multiple Elements with the Same ID
- Some applications require different elements with the same ID. Learn how to distinguish between them in your script.
Related categories: DOM | Dynamic HTML | Syntax and Notation
Similar Tips - September 21, 2000 - Page Views: 15
- 17. Adding New Lines to A mailto: URL
- Which character is ASCII %0D? %0A? Learn how to add new lines to a mailto: URL.
Related categories: Forms | Links | URLs and Locations
Similar Tips - October 23, 2000 - Page Views: 15
- 18. Loading XML from JavaScript
- Do you know how to load an XML file from JavaScript in Internet Explorer? Learn how to create the DOMDocument object and how to print the XML data.
Related categories: Behaviors | Dynamic HTML | Objects
Similar Tips - January 16, 2002 - Page Views: 15
- 19. Changing the Cursor
- Find out how to change the style of the cursor with style sheets and JavaScript.
Related categories: Page Layout | Style Sheets
Similar Tips - November 29, 1999 - Page Views: 15
- 20. Preparing a Form for User Corrections
- Do you know how to prepare a form for error correction by the user? Learn how to use the select, blur, and focus methods.
Related categories: Events | Forms
Similar Tips - August 5, 2000 - Page Views: 14
|
|
|