03 2012 档案
摘要:When executing a method, there're 2 ojbects available inside the method:event objectthis point1. If the method called on an DomElement, this points to the DOM element.2. If the method called on an Object, this points to the object instance.As to 1st case,to access the object instance in which th
阅读全文
摘要:Access a Control or Behavior's associated DomElement through: control.get_element(), behavior.get_element()Accessa DomElement's associated control through: element.controlAccess a DomElement's associated behavior through: element._behaviorsBehavior.getBehaviors(element)Behavior.getBehavi
阅读全文
摘要:(From "Advanced ASP.NET AJAX Server Controls For .NET Framework 3.5")1. IE下preventDefault(): window.event.returnValue = false.stopPropagation(): window.event.cancelBubble = true.preventDefault() + stopPropagation(): return false.
阅读全文
浙公网安备 33010602011771号