摘要:
/// <summary> /// 双向链表节点类 /// </summary> /// <typeparam name="T">节点中的存放的数据类型</typeparam> public class Node<T> where T:IComparable<T> { /// <summary> /// 当前节点的数据 /// </summary> T data; /// <summary> /// 节点中存放的数据 /// </summary> pub. 阅读全文
posted @ 2013-01-06 15:46
cpcpc
阅读(1521)
评论(0)
推荐(0)
摘要:
function validate(){ var Elements = document.getElementsByTagName("*"); var i; for ( i in Elements ) { if ( Elements[i].type == "text" ) { alert(Elements[i].value); }}这段代码可以遍历页面全部的HTML控件,包括了HTML、HEAD、TITLE、BODY、Input、Img、Select等标记。 阅读全文
posted @ 2013-01-06 15:22
cpcpc
阅读(360)
评论(0)
推荐(0)

浙公网安备 33010602011771号