摘要: jquery doesn't provide a lot of utility methods for other purposes.small library approximately 60 methods that can make your Javascript easier to understand and more compact.Accessing Underscoreunderscore character _function or object-oriented style_.isString(myVar)_(myVar).isString();the OO met 阅读全文
posted @ 2012-10-22 08:36 顺武 阅读(292) 评论(0) 推荐(0) 编辑
摘要: when you try to do multiple things at a time but can't be sure which one is going to get done first , the logic required can get a little hairy,requiring a number of state variablesor a bunch of nested callbacks, luckily, as of jQuery 1.5all jQuery Ajax methods return an object known as a Deferr 阅读全文
posted @ 2012-10-22 08:25 顺武 阅读(113) 评论(0) 推荐(0) 编辑