Most Useful JavaScript Tricks
What's your favourite things to do with JavaScript? Just interested to see what everyone says. I probably use the rollover scripts the most, although the clocks are neat.
The most beautiful thing we can experience is the mysterious. It is the source of all true art and science.
- Albert Einstein
Greg K posted this at 06:28 — 12th February 2005.
He has: 2,145 posts
Joined: Nov 2003
Main thing I use it for is for formatting data entered in forms. ie. for money values, if they enter 1234.1 and then leave the field, use javascript to format it to read $1,234.10.
-Greg
Busy posted this at 06:49 — 12th February 2005.
He has: 6,151 posts
Joined: May 2001
to go back a page
andy206uk posted this at 14:28 — 13th February 2005.
He has: 1,758 posts
Joined: Jul 2002
Showing and hiding layers. Oh... and form validation.
dbanners posted this at 22:58 — 13th February 2005.
He has: 13 posts
Joined: Jan 2005
for me, the main use is for form validation and data formating
Jack Michaelson posted this at 11:01 — 14th February 2005.
He has: 1,733 posts
Joined: Dec 1999
- show/hide layers
- browser compatibility
- form validating
Renegade posted this at 13:12 — 14th February 2005.
He has: 3,022 posts
Joined: Oct 2002
Yeah, what they all said
- forms
- rollovers
- show/hide layers
- going back a page
the first and last one most often.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.