jQuery - 参考资料 - parseInt Method JScript 5 6

分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

               

   jQuery - 参考资料 - parseInt Method (JScript 5.6):

[parseInt - ECMA标准]

parseInt (string , radix)
The parseInt function produces an integer value dictated by interpretation of the contents of the
string argument according to the specified radix. Leading whitespace in the string is ignored. If radix
is undefined or 0, it is assumed to be 10 except when the number begins with the character pairs 0x
or 0X, in which case a radix of 16 is assumed. Any radix-16 number may also optionally begin with
the character pairs 0x or 0X.
When the parseInt function is called, the following steps are taken:
  1. 1. Call ToString(string).
  2.    
  3. 2. Let S be a newly created substring of Result(1) consisting of the first character that is not a StrWhiteSpaceChar and all characters following that character. (In other words, remove leading white space.)
  4.    
  5. 3. Let sign be 1.
  6.    
  7. 4. If S is not empty and the first character of S is a minus sign -, let sign be −1.
  8.    
  9. 5. If S is not empty and the first character of S is a plus sign + or a minus sign -, then remove the first character from S.
  10.    
  11. 6. Let R = ToInt32(radix).
  12.    
  13. 7. If R = 0, go to step 11.
  14.    
  15. 8. If R < 2 or R > 36, then return NaN.
  16.    
  17. 9. If R = 16, go to step 13.
  18.    
  19. 10. Go to step 14.
  20.    
  21. 11. Let R = 10.
  22.    
  23. 12. If the length of S is at least 1 and the first character of S is “0”, then at the implementation's discretion either let R = 8 or leave R unchanged.
  24.    
  25. 13. If the length of S is at least 2 and the first two characters of S are either “0x” or “0X”, then remove the first two characters from S and let R = 16.
  26.    
  27. 14. If S contains any character that is not a radix-R digit, then let Z be the substring of S consisting of all characters before the first such character; otherwise, let Z be S.
  28.    
  29. 15. If Z is empty, return NaN.
  30.    
  31. 16. Compute the mathematical integer value that is represented by Z in radix-R notation, using the letters A-Z and a-z for digits with values 10 through 35. (However, if R is 10 and Z contains more than 20 significant digits, every significant digit after the 20th may be replaced by a 0 digit, at the option of the implementation; and if R is not 2, 4, 8, 10, 16, or 32, then Result(16) may be an implementation-dependent approximation to the mathematical integer value that is represented by Z in radix-R notation.)
  32.    
  33. 17. Compute the number value for Result(16).
  34.    
  35. 18. Return sign × Result(17).
NOTE
parseInt may interpret only a leading portion of the string as an integer value; it ignores any
characters that cannot be interpreted as part of the notation of an integer, and no indication is given
that any such characters were ignored.
When radix is 0 or undefined and the string's number begins with a 0 digit not followed by an x or X,
then the implementation may, at its discretion, interpret the number either as being octal or as being
decimal. Implementations are encouraged to interpret numbers in this case as being decimal.

[ECMA标准下载]

http://www.ecma-international.org/publications/standards/Ecma-262.htm

[parseInt Method (JScript 5.6): - IE标准]

   http://msdn2.microsoft.com/en-us/library/x53yedee.aspx 

   [jQuery - 官方网站]

http://jquery.com/

   [jQuery - 下载地址]

当前版本, http://docs.jquery.com/Release:jQuery_1.2.1
下载列表, http://docs.jquery.com/Downloading_jQuery
最新代码, http://code.jquery.com/nightlies/jquery-nightly.js

   [jQuery - 相关论坛]

http://groups.google.com/group/jquery-en
http://WebDev.board.newsmth.net/
http://WebGeeks.board.newsmth.net/
http://bbs.pku.edu.cn/, homepage看版
http://forum.csdn.net/SList/JavaScript/

   [jQuery - 关键词]

jQuery

   [jQuery - Core核心]

each迭代, http://docs.jquery.com/Core/each
jQuery, http://docs.jquery.com/Core/jQuery

   [jQuery - Ajax]

jQuery的Ajax文档, http://docs.jquery.com/Ajax/jQuery.ajax
jQuery的Ajax选项,http://docs.jquery.com/Ajax/jQuery.ajax#options
  dataType选项,设置返回值类型
  timeout选项,用于设置超时
与PHP集成可以使用json_encode返回结果, http://www.php.net/manual/zh/function.json-encode.php

   readyState获取请求操作的当前状态,   http://msdn2.microsoft.com/en-us/library/ms534361.aspx

   [jQuery - 特效]

   jQuery淡入特效,http://docs.jquery.com/Effects/fadeIn

   [jQuery - Selectors选择器]

表单元素选择器, http://docs.jquery.com/DOM/Traversing/Selectors#Form_Selectors
属性相等选择器,http://docs.jquery.com/Selectors/attributeEquals
checked选中, http://docs.jquery.com/Selectors/checked

   :input匹配所有input,   textarea, select和button元素, http://docs.jquery.com/Selectors/input

选择器在选择body中出现的title标记时,会出现和预期不同的效果。

   element按指定名称匹配所有元素,   http://docs.jquery.com/Selectors/element

   [jQuery - Attributes属性]

   val获取第一个匹配元素value属性的内容,   http://docs.jquery.com/Attributes/val

   [jQuery - 常用函数]

   attr访问自定义属性,减少javascript脚本中代码和数据的耦合
filter, 用于在集合中过滤元素

   [jQuery - Events事件]

hover, http://docs.jquery.com/Events/hover
submit提交, http://docs.jquery.com/Events/submit

   focus响应每个匹配元素的焦点事件,   http://docs.jquery.com/Events/focus

   click单击,   触发每个匹配元素的单击事件, 绑定函数到每个匹配元素的单击事件, http://docs.jquery.com/Events/click

   [jQuery - Manipulation操作]

   after在每个匹配的元素之后插入内容,   http://docs.jquery.com/Manipulation/after

   [jQuery - Traversing遍历器]

filter过滤, http://docs.jquery.com/Traversing/filter
find查找, http://docs.jquery.com/Traversing/find

   [jQuery - Tutorials教程]

Introducing $(document).ready(), http://docs.jquery.com/Tutorials:Introducing_%24%28document%29.ready%28%29

   [jQuery - plugins插件]

Easing动画, http://jquery.com/plugins/project/easing
jCarouseLite, 走马灯效果, http://jquery.com/plugins/project/jCarouselLite
tableFilter, 表过滤器, http://jquery.com/plugins/project/tableFilter
Rounded Corner圆角矩形, http://docs.jquery.com/Tutorials:Rounded_Corners#Rounded_Corners_Without_Images

   [jQuery - Utilities实用工具]

trim去掉字符串前后的空格, http://docs.jquery.com/Utilities/jQuery.trim

   [jQuery - 参考资料]

http://www.json.org/, http://www.json.org/json.js

   JScript   (Windows Script Technologies):,   http://msdn2.microsoft.com/en-us/library/hbxc2t98.aspx

   prototype   Property (JScript 5.6):,   http://msdn2.microsoft.com/en-us/library/f5s9ycex.aspx

   parseInt   Method (JScript 5.6):,   http://msdn2.microsoft.com/en-us/library/x53yedee.aspx

   toString   Method (JScript 5.6):,   http://msdn2.microsoft.com/en-us/library/k6xhc6yc.aspx

   HTTP   Status Codes (Windows):,   http://msdn2.microsoft.com/en-us/library/Aa384325.aspx

   HTML+TIME:,   http://msdn2.microsoft.com/en-us/library/ms533112.aspx

   HTA:APPLICATION对象,   http://msdn2.microsoft.com/en-us/library/ms536495.aspx

   About   Cross-Frame Scripting and Security:关于跨框架脚本和安全,   http://msdn2.microsoft.com/en-us/library/ms533028.aspx

   How   to Build Tables Dynamically:如何动态构建表格,   http://msdn2.microsoft.com/en-us/library/ms532998.aspx

   Filter   Property (Tabular Data Control): - Filter属性(表格数据控件),   http://msdn2.microsoft.com/en-us/library/ms531364.aspx

   close   Method (window):, http://msdn2.microsoft.com/en-us/library/ms536367.aspx

ECMA标准下载, http://www.ecma-international.org/publications/standards/Ecma-262.htm

parseInt Method (JScript 5.6): - IE标准, http://msdn2.microsoft.com/en-us/library/x53yedee.aspx

   [jQuery - 综合实例]

   实现前一个和后一个效果

   跨窗口调用函数

   定时刷新

   下拉列表框打开指定网站

生成在两个边界间的随机数
  文本输入框与标签自动更换

   密码输入框与标签自动更换

   文本输入区域与标签自动更换

   Pre标签在IE与Firefox下效果相对理想的换行处理

固定表头,滚动表格内容           

分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值