


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


Doc JavaScript's Top 10 Tips
based on hits from Friday, November 20, 2009
- 1. 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: 57
- 2. 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: 50
- 3. 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: 49
- 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: 45
- 5. 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: 35
- 6. 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: 35
- 7. 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: 33
- 8. 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: 29
- 9. 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: 27
- 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: 24
|
|
|