摘要: jQuery.fn.rowspan = function (colIdx) { return this.each(function () { var that; $('tr', this).each(function (row) { $('td:eq(' + colIdx + ')', this).filter(':visible').each(function (col) { if (that != null && $(this).html() == $(that).html()) { rowspan = $(t 阅读全文
posted @ 2012-01-14 18:24 李晔 阅读(271) 评论(0) 推荐(0) 编辑
摘要: function window.confirm(str) { execScript("n = (msgbox('" + str + "',vbYesNo,'来自网页的信息')=vbYes)", "vbscript"); return (n); }只支持IE 阅读全文
posted @ 2011-12-30 20:32 李晔 阅读(316) 评论(0) 推荐(1) 编辑
摘要: 前台代码: <form id="form1" runat="server"> <div> <asp:FileUpload ID="file" runat="server" /> <img id="img" style="display:none; width:120px; height:100px;" /> </div> </form>后台: protected void Page_Load(object 阅读全文
posted @ 2011-11-16 12:13 李晔 阅读(221) 评论(0) 推荐(0) 编辑