脚 本 之 家 www.jb51.net
页面导航:  不限条件-->和
本地搜索:
< %@ include file=” ”%>< jsp:include page=” ” flush=”true”/>  前者是指令元素、后者是行为元素。具体它们将在何处用?如何用及它们有什么区别?这应该是很多人看到它都会想到的问题。下面一起来看看吧。  通常当应用程序中所有的页面的某些部分(例如标题、页脚和导航栏)都相同的时候,我们就可以考虑用include。具体在哪些时候用< %@ include file=” ”%>,哪些时候用&l...
http://www.jb51.net//article/15324.htm
<?php exec("/bin/grep -r '$oldword' $rootpath", $results, $errorCode); if ($errorCode){ if ($errorCode == 1){ echo "Possibly no files were found with ?$oldword in them<BR>\n"; ...
http://www.jb51.net//article/15312.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
解决方法用到的核心代码如下下面的代码放到页面的最下面即可<script language="javascript">var url=location.href;var urlarr=url.split("#");var theid=urlarr[1];document.getElementById(theid+"2").style.color="yellow";</script>[html]<html><head><title>VIP促销活动</title><meta ...
http://www.jb51.net//article/15302.htm
我们可以通过一段代码来分析一下其中的微妙差别:<form method="post" action="" name="demoform"><input type="text" name="oDemo" id=”oDemo2” value="DEMO" /></form>在IE浏览器里,我们可以通过多少方法来索引到这个文本框对象?(为区别起见,我们把NAME和ID设成了不同的值)1. oDemo2. demoform.oDemo3. document....
http://www.jb51.net//article/15300.htm
Chess象棋ajax.rar棋力还可以,不想继续弄了,代码公开。http://img.jb51.net/url.htm?url=http://www.dullwolf.cn/Chess/...
http://www.jb51.net//article/15288.htm
雅虎的YSlow插件的规则之一:Rule 9 – Reduce DNS Lookups提到:Reducing the number of unique hostnames has the potential to reduce the amount of parallel downloading that takes place in the&nb...
http://www.jb51.net//article/15258.htm
 我的网站域名是www.yining.org,有个页面(比如就这篇blog entry)带有一张图片,其src为:/img/camel.gif,那么它的URL就是:”http://www.yining.org/img/camel.gif”。如果这个页面设置了cookie(比如为了记录留言者的ID和网站地址等),cookie的作用域名自动为www.yining.org,那么每次访问该页的时候,因为URL的域名部是www.yining.org,那么浏览器都会带着cookie对该图片发起请求,即使一路上的web cache有www.yining.org/img/came...
http://www.jb51.net//article/15257.htm
 ConvertHzToPz_Gb2312.cs[code]using System;using System.Data;using System.Configuration;using System.Text;/// <summary>/// Summary description for ConvertHzToPz_Gb2312/// </summary>public class ConvertHzToPz_Gb2312{ pu...
http://www.jb51.net//article/15250.htm
在cnblogs上看了关于js的一些文章 ,做下笔记:先看代码1:function car(){    var wheel = 3;//私有变量    this.wheel = 4;//公有变量    alert(wheel);    alert(this.wheel);}var car1 = new car();结果是:3&n...
http://www.jb51.net//article/15242.htm
<script type="text/vbscript">    Function str2asc(strstr)      str2asc = hex(asc(strstr))     End Function     Function asc2str(ascasc)     ...
http://www.jb51.net//article/15238.htm
共有:848/10,当前10/85页  [首页] [上一页] 6 7 8 9 10 11 12 13 [下一页]  [尾页] 转到: