摘要:
1.一些数据交互元素如button 为了避免重复提交信息,可以在$.post或$.get后unbind,在收到返回后再重新绑定;或者将button设置为disabled 2.在ajax可能改变某些参数,同事参数需要在bind时赋值的,在参数变动后需要unbind再重新bind 3.某个元素的clic 阅读全文
摘要:
语法: Program : SourceElementsopt SourceElements : SourceElement SourceElements SourceElement SourceElement : Statement FunctionDeclaration 语义: 产生式 Prog 阅读全文
摘要:
语法: FunctionDeclaration : function Identifier ( FormalParameterListopt ) { FunctionBody } FunctionExpression : function Identifieropt ( FormalParamete 阅读全文
摘要:
语法: Statement : Block VariableStatement EmptyStatement ExpressionStatement IfStatement IterationStatement ContinueStatement BreakStatement ReturnState 阅读全文
摘要:
11.表达式 11.1 主值表达式 语法:PrimaryExpression : this;执行为当前执行环境的ThisBinding Identifier ;执行遵循 标识符解析 的标识符查找。标识符执行的结果总是一个 Reference 类型的值。 Literal; ArrayLiteral;一 阅读全文
摘要:
10 可执行代码与可执行环境 10.1 可执行代码类型:全局代码(作为ECMA脚本被解析的源代码),eval(在特定的一次对eval的调用过程中,eval代码作为改程序的#global-code部分),函数代码(作为函数体被解析的源代码,不包括嵌套函数的函数体被解析的源代码) 10.1.1 严格模式 阅读全文
摘要:
css-2010 The W3C Process and CSS: WD(Working Draft)-->LC or LCED(Last Call Working Draft)-->CR(Candidate Recommendation) --> PR(Proposed Recommendatio 阅读全文
摘要:
详细参考:http://yanhaijing.com/es5/#77 8.6--Object类型 Object:一个属性的集合。每个属性既可以是一个命名的数据属性,也可以是一个命名的访问器属性,或是一个内部属性。 两种带名字的访问器属性(非内部属性):get(取值) 和 put(赋值)。 8.6.1 阅读全文