Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
Nine Javascript Gotchas
ylodi
follow
1
4-6-2008 3:02 PM
352 views
tags:
javascript
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Related Clips
Firefox users targeted by rare piece of ma...
Firefox 3.1 Beta 1 Out
Programming Cheat Sheet Round-up.
An Absolute Goldmine of Web Design Education
Why TraceMonkey is Going to Blow Your Web ...
JS Charts - free charts for your website, ...
Think Firefox 3 is fast? Try Firefox Minef...
More clips from
ylodi
Disturbing new trend, bloatware on phones
4 Languages you should learn in 2009
European Commission publishes guidelines o...
Today's Top Clips
What pets do when we're at work.....
Made From Snow
Thousands of New Species Discovered on Tiny Island
Is this the world's oldest living creature?
Dog saves dog on freeway
The effects of stress are wide-reaching.
"State Secret: Thousands Secretly Sterilized"
With or without flash
Big Brother
Our Emotions are interdependnt with people we don't know
visit the
Top Clips page
View the Top Clips from
April 6, 2008
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/265e367c-aeba-4806-8d77-d764ea60cdbf/2F138974-F31C-41C1-9F68-E21FF5F0CE70/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas" href="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas" style="font-size: 11px;">www.fitzblog.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>Nine Javascript Gotchas</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>1) Comma Caused Coruption<BR /></H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>2) "this" can change which object it's pointing at</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>3) Identity Theft</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>4) String replace only replaces the first occurrence</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>5) MouseOut sometimes means MouseIn</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>6) ParseInt scoffs at your base ten numbering system</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>7) for loops over the kitchen sink</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>8) Event handlers Pitfalls</H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.fitzblog.com/bid/2127/Nine-Javascript-Gotchas"><H3>9) Focus Pocus</H3></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/2F138974-F31C-41C1-9F68-E21FF5F0CE70/blog/" title="blog or email this clip"><img src="http://content6.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Blog
Copyright
Privacy
EULA
OK