- 浏览: 72014 次
- 性别:
- 来自: 长春
-
最新评论
-
lizhiping116:
求判断字符串中是否有空格
正则验证 -
liuzhongzhou2721:
:
正则验证 -
liuzhongzhou2721:
正则验证 -
liuzhongzhou2721:
[img][/img]
正则验证 -
liuzhongzhou2721:
来看看了,好东西呀
正则验证
文章列表
(function(){
var isReady=false;//判断onDOMReady方法是否已经被执行过
var readyList= [];//把需要执行的方法先暂存在这个数组里
var timer;//定时器句柄
ready=function(fn) {
if (isReady )
fn.call( document);
else
readyList.push( ...
Array.prototype.remove = function(from, to) {
var rest = this.slice((to || from) + 1 || this.length);
this.length = from < 0 ? this.length + from : from;
return this.push.apply(this, rest);
};
<!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>
<meta http-equiv="Content-Type" content="text/html; chars ...
<!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>
<meta http-equiv="Content-Type" content="t ...
reload 方法,该方法强迫浏览器刷新当前页面。
语法: location.reload([bForceGet]) ...
加密JavaScript代码
但有一个小Bug,就是当JavaScript代码中出现“\”时,这段代码会出现问题。正在寻求解决办法。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
...
这里需要Jdom的API
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jdom.output.XMLOutputter;
/**
* 动态创建RSS文档
* @author 李英夫(09.06. ...
- 2009-07-03 21:37
- 浏览 835
- 评论(0)