上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 42 下一页

2018年10月12日

Uncaught TypeError: window.showModalDialog is not a function 谷歌

摘要: //新版本谷歌没有window.showModalDialog,创建一个window.openif(window.showModalDialog == undefined){ window.showModalDialog = function(url,mixedVar,features){ wind 阅读全文

posted @ 2018-10-12 08:44 asdyzh 阅读(4378) 评论(0) 推荐(0) 编辑

__doPostBack方法解析 __VIEWSTATE __EVENTTARGET __doPostBack __EVENTARGUMENT

摘要: 关于这个的另一篇博客:http://www.cnblogs.com/Silicon-Fado/archive/2009/04/21/1440437.html __VIEWSTATE:页面状态信息在客户端的存储(ViewState中存储的信息, EnableViewState="true"的控件状态信 阅读全文

posted @ 2018-10-12 08:28 asdyzh 阅读(456) 评论(0) 推荐(0) 编辑

2018年10月11日

jquery操作select(option)的取值,设置和选中

摘要: 比如 <select class="selector"> <option value ="volvo">Volvo</option> <option value ="saab">Saab</option> <option value="opel">Opel</option> <option valu 阅读全文

posted @ 2018-10-11 22:36 asdyzh 阅读(887) 评论(0) 推荐(0) 编辑

jquery文档内容的获取和设置

摘要: 阅读全文

posted @ 2018-10-11 22:06 asdyzh 阅读(180) 评论(0) 推荐(0) 编辑

jquery 点击某一行,得到这一行的每个列的数据

摘要: <html><head> <title>test</title> <script src="../Scripts/jquery-1.8.3.js"></script> <style type="text/css"> table{ border-collapse: collapse; border-s 阅读全文

posted @ 2018-10-11 21:00 asdyzh 阅读(582) 评论(0) 推荐(0) 编辑

jquery table表格 获取选中的某一行和某一列的值

摘要: table class="table table-hover" id="test123"> <tr> <th width="45">选择</th> <th width="100">驾校名称</th> <th width="100">合作驾校名称</th> <th width="100">申请时间</ 阅读全文

posted @ 2018-10-11 20:55 asdyzh 阅读(9659) 评论(0) 推荐(0) 编辑

JQuery点击table获取点击行的数据

摘要: $(function () {var TaskType = '';$("#data_table tr:gt(0)").click(function () { TaskType = $(this).find("td").eq(0).html(); alert(TaskType) }) 作者:easyb 阅读全文

posted @ 2018-10-11 20:38 asdyzh 阅读(1964) 评论(0) 推荐(0) 编辑

jQuery获取table当前所在行

摘要: $("div tbody tr").click(function() { var rows = $(this).prevAll().length + 1;//行号 alert(rows ); }); //获取表的总行数 tr $("#tableid").find("tr").length ; //获 阅读全文

posted @ 2018-10-11 20:29 asdyzh 阅读(1941) 评论(0) 推荐(0) 编辑

使用JavaScript选择GridView行的方法汇总

摘要: 一行: 呵呵有点夸张了,具体做法是在GridView的RowDataBound事件里写这么写: 原理很简单,在ASP.NET的页面Render时,GridView的选择、删除、编辑 等事件会产生简单的postback 参数,分别是select$, Update$, Edit$... 这样就给我们带来 阅读全文

posted @ 2018-10-11 20:17 asdyzh 阅读(597) 评论(0) 推荐(0) 编辑

利用JavaScript选择GridView行

摘要: 本篇技巧和诀窍记录的是:利用JavaScript选择GridView行。 当我们想在GridView中添加删除、选择功能时,我们通常的做法是利用模板功能在每行添加一个按钮控件或者超链接按钮控件,单击按钮利用RowCommand获取每行的ID。 下面我们利用JavaScript完成这一功能。我们可以通 阅读全文

posted @ 2018-10-11 20:16 asdyzh 阅读(300) 评论(0) 推荐(0) 编辑

上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 42 下一页

导航