2016年11月3日

摘要: C#后台计算出的值如何赋值给前台 先在后台定义,例:public int id;(要与 protected void Page_Load(object sender, EventArgs e)平级),然后可以在protected void Page_Load(object sender, Event 阅读全文
posted @ 2016-11-03 15:44 Better_ZYQ 阅读(341) 评论(0) 推荐(0)
摘要: $('#productList') 是Jquery中的ID选择器。是Jquer所支持的多种选择器的一种。 定义和用法 # 选取带有唯一的指定 id 的元素。 id 引用 HTML 元素的 id 属性。 相同的 id 值只能在文档中使用一次 实例 选取 id="choose" 的 元素:$(#choo 阅读全文
posted @ 2016-11-03 15:39 Better_ZYQ 阅读(228) 评论(0) 推荐(0)
摘要: setAttribute就是给dom添加属性的。示例:比如有一个button <input type='button' id='TestBtn' /> 我想在想给这个button加一个属性,名叫name,那么我在js中可以这么把这个属性加到button上: var btn=document.getE 阅读全文
posted @ 2016-11-03 15:36 Better_ZYQ 阅读(257) 评论(0) 推荐(0)

导航