Morgan Cheng
Member since Nov 15, 2009
- Profile: /members/4764-morgan-cheng.htm
- URL: http://www.morgancheng.com
- Comments: 2
Recent Blog Comments By Morgan Cheng
-
Javascript's IN Operator Does Not Work With Strings
Posted on May 11, 2010 at 9:23 AM
I tried this. var n = 1.2; alert('length of n = ' + ('length' in n)); I also generates: invalid 'in' operand n [Break on this error] console.log('length of n = ' + ('length' in n)); I suppose scalar type (other than object inherited type) always has such problem.... read more »
-
jQuery Live() Method And Event Bubbling
Posted on Nov 15, 2009 at 6:52 AM
Nice explanation. At least it encourages me to find out the logic under the hood.... read more »