摘要: vararr1=["one","two","three","four","five"];$.each(arr1,function(){alert(this);});输出:onetwothreefourfivevararr2=[[1,2,3],[4,5,6],[7,8,9]]$.each(arr2,function(i,item){alert(item[0]);});输出:147varobj={one:1,two:2,three:3,four:4,five:5};$.each(obj,functi 阅读全文
posted @ 2011-11-21 16:17 草珊瑚 阅读(226) 评论(0) 推荐(0)
摘要: 首先WebService返回的是struct类型,返回的是Class类型同样也能调用。usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Services;usingSystem.IO;usingSystem.Data;usingSystem.Data.OleDb;namespaceLearnAjax{///<summary>///WebService2的摘要说明///</summary>[ 阅读全文
posted @ 2011-11-21 16:05 草珊瑚 阅读(354) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/Ken-Cai/archive/2008/07/24/1250488.html1. TreeView.Target = "mainFrame"; 2. IFrame 必须有 name 属性。 <iframe name="MainFrame" id="MainFrame" src="Desktop.aspx" style="width: 100%; height: 100%; padding-left:10px; padding-right:10px; p 阅读全文
posted @ 2011-11-21 10:02 草珊瑚 阅读(316) 评论(0) 推荐(0)