没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > jquery-tools |
|
jquery-tools
|
| 4 | 0 | 0 |
| 贡献者 | 讨论 | 代码提交 |
jQuery ToolsjQuery Tools is a method collection extending jQuery library with often used features.
Tools$.typeOf() - returns the type of passed object, in comparison with JavaScript typeof operator this method correctly returns values for arrays and null values (typeof operator returns object for both arrays and null values which is wrong) $.nTypeOf() - same as $.typeOf() but also checks the type for numbers and returns either int or float value instead of number value $.parseInt() - parses value to int, in comparison with JavaScript parseInt() this implementation will throw an exception if invalid character is detected, also it doesn't treat values with leading zero as octal numbers $.parseFloat() - parses value to float, in comparison with JavaScript parseInt() this implementation will throw an exception if invalid character is detected
标签:
