[code]<scripttype="text/javascript">$(function(){$("#checkall").click(function(){$("input[@name='checkname[]']").each(function(){$(this).attr("checked",true);});});$("#delcheckall").click(function(){$("input[@name='checkname[]']").each(function(){$(this).attr("checked",false);});});});</scr...
http://www.jb51.net//article/15623.htm
.THICKBOX支持一下浏览器:WindowsIE6.0,WindowsIE7+,WindowsFF2.0.0.6+,WindowsOpera9.0+,MacintoshSafari2.0.4+,MacintoshFF2.0.0.6+,MacintoshOpera9.10……但是据我的使用,IE6还是有点问题的!下面我们首先来看它的调用:1.肯定你先要下载jquery.js和thickbox.js了.还有thickbox.css也不能少![code]<scripttype="text/javascript"src="path-to-file/jquery.js"></scr...
http://www.jb51.net//article/15620.htm
解释的不错,应该明确了不少 ruby symbol详解起因最近在学习ruby on rails,的确是一个优秀的数据库开发框架。但在过程中,发现在视图文件夹中的rhtml文件里有大量的类似于以下的语句:<td><%= link_to recipe.title, :action => “show”, :id => 1 %></td>这是一个指向链接,如果没有冒号这句话的意思很好理解:这是一个指向http://127.0....
http://www.jb51.net//article/15457.htm
1、foreach (Control c in this.rptTables.Controls){ CheckBox cbx = (CheckBox)c.FindControl("cbxId"); TextBox tbx = (TextBox)c.FindControl("tbxTableName"); if (cbx != nu...
http://www.jb51.net//article/15406.htm
// 版本: 1.0// 日期: 2007/08/01// 备注: 需要jQuery库// 参考: Dodo(tableRowCheckboxToggle) 和 softcomplex(tigra_tables)function Kin_Tables(  ...
http://www.jb51.net//article/15396.htm
1、foreach (Control c in this.rptTables.Controls){ CheckBox cbx = (CheckBox)c.FindControl("cbxId"); TextBox tbx = (TextBox)c.FindControl("tbxTableName"); if (cbx != nu...
http://www.jb51.net//article/15319.htm
用的核心代码function $(obj){ return document.getElementById(obj);}window.onload = function(){ var table = document.getElementById("myTable"); //如果在表格区域内产生单击 table.onclick =&n...
http://www.jb51.net//article/15307.htm
例如: <div style="background:#666;"> <!-- float container --> <div style="float:left; width:30%; height:4...
http://www.jb51.net//article/15230.htm
[html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Checkbox</title><meta name="generator"&...
http://www.jb51.net//article/15101.htm
函数说明InputBox显示以一个输入框以供用户输入数据。InputBox("标题","提示信息"[,"默认数据"[,"密码字符"[,宽度,高度[,左边,上边[,超时时间]]]]]) 参数标题输入框的标题文字。提示信息提示用户程序需要获得的数据。默认数据显示在输入文本框中的默认文字。密码字符[可选参数]显示在输入文本框中用以代替用户输入字符的字符。如果要正常显示字符只需定义此参数为空字符串""(默认)或空格字符即可。如果此参数被设为多字符的字符串则只有第一个字符才有效。第二个字符及后面的其它字符有其它特殊用途。请查看下面的注意部分。宽度[可选参数]窗口宽度。如有指定此参数则高度参数也...
http://www.jb51.net//article/14869.htm
下面用一些比较常用的属性来做示例。 margin margin-top:1px; margin-right:1px; margin-bottom:1px; margin-left:1px; 代码简化为:margin:1px margin-top:1px; margin-right:2px; margin-bottom:1px; margin-left:2px; 代码简化为:margin:1px 2px margin-top...
http://www.jb51.net//article/14822.htm
