2010年10月8日

jquery选择器

摘要: 基本选择器:$(”#myELement”) —— 选择id值等于myElement的元素,id值不能重复在文档中只能有一个id值是myElement所以得到的是唯一的元素 $(”div”) —— 选择所有的div标签元素,返回div元素数组 $(”.myClass”) &mdas... 阅读全文

posted @ 2010-10-08 22:15 linzheng 阅读(3214) 评论(0) 推荐(1) 编辑

页面传递数组参数

摘要: 1、将数组转化成字符串,用特殊字符如“|”将数组的元素隔开,用普通的字符串参数传递2、使用json方式传递参数解析C#后台得到的是个stringstring objStr = HttpContext.Current.Request["objStr"];objStr内容([{"0": "a", "1": "b", "2": "c", "3": "d"}, {"0": "aa"... 阅读全文

posted @ 2010-10-08 21:07 linzheng 阅读(2576) 评论(0) 推荐(0) 编辑

导航