[导入]Ms Ajax Lib> $get 方法

UI.DomElement $get 方法。提供了一个Sys.UI.DomElement类中getElementById方法的快捷访问方式。// Add handler using the getElementById method$addHandler(Sys.UI.DomElement.getElementById("Button1"), "click", toggleCssClassMethod);// Add handler using the shortcut to the getElementById method$addHandler($get("Button2"), "click", removeCssClassMethod);
文章来源:http://blog.csdn.net/chsword/archive/2007/03/02/1519542.aspx
原文地址:https://www.cnblogs.com/chsword/p/662269.html