建站教学网,让你建站更便捷和轻松!
您当前的位置:首页 > 网页制作 > Javascript/Ajax
javascript教程复制指定内容保存到剪切板代码html代码<input type="text" id="testinput" name="testinput" value="4234324234" />
<div id="buttonbox">
<button onclick="copy('testinput')">c
js延时自动跳转到指定页面的跳转代码
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://jzread.com/1999/xhtml
2010-06-22 09:35:19
javascript教程过滤html标签代码
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>javascript教程过滤html标签代码</title><script language= "javascript ">
<!--fu
javascript教程用户注册密码强度验证程序
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/19
javascript教程中文与验证名合法性验证程序<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/19
email 电子邮箱验证
if (document.regform.u_email.value.length==0) {
alert("提示:nn请填写你的email地址");
document.regform.u_email.focus();
return false;
// telephone 电话验证代码
if ((document.regform.u_telphone1.value.length==0)||!checkifnumber(document.regform.u_telphone1.value)) {
alert("提示:nn电话必须填写!");
document.
<script type="text/javascript教程">function checkall(name)
{
var names=document.getelementsbyname(name);
var len=names.length;
if(len>0)
{
var i=0;
for(i=0;i<len;i++)
names[i]
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/1999/xhtml">
<head>
<meta http-equiv=
2010-06-16 14:45:50
js禁止复制网页代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/1999/xhtml">
<head>
js正则表达式在指定位置插入数据代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/1999/x
下面为你提供的这款javascript教程 在关闭IE窗口的时候弹出窗口是一款24小时才弹出一次的,当然你也可以自定弹出窗口的时间哦。<script language="javascript">
<!--
function SetCookie(name,value) //两个参数
function checkRate(input)
{
var re = /^[0-9]+.?[0-9]*$/; //判断字符串是否为数字 //判断正整数 /^[1-9]+[0-9]*]*$/
if (!re.test(input.rate.value))
{
alert("请输入数字(例:0.02)");
input.rate.f
javascript教程 判断是否为日期函数代码
<html xmlns="http://www.jzread.com/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>javascript 判断是否为日期
2010-06-10 14:04:09
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/1999/xhtml">
<head>
<meta http-equiv="C
<p>
<meta content="text/html;charset=gb2312" http-equiv="content-type" /></p>
<!--把下面代码加到<head>与</head>之间-->
<p><style type="text/css">*{margin:0;padding:0;font-size:12px;}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/1999/xhtml">
<head>
<meta http-equiv=
js图片按指定比例缩放代码是非常实用的,我们主要是在网页面显示时会看到,如是一张图片大太了,所以得按比例进行处理了,下面的代码就是这个功能。
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="t
javascript教程 设置背景透明效果代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/1999/
javascript 根据参数ID获取链接地址的参数值
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com
javascript_获取网页标题代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/1999/xhtml">
2010-06-09 13:04:53
js添加到收藏夹中代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/1999/xhtml">
<head>
js弹出新容器二种代码
<html xmlns="http://www.jzread.com/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>js弹出新容器二种代码</title>
<script lang
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.jzread.com/1999/xhtml">
<head id="Head1" runat=&qu
javascript教程动态给word doc文档增加表格<script>
function wordcontorl(){
alert("小孟佳的宝贝");
var WordApp=new ActiveXObject("Word.Application");
var wdCharacter=1
var wdOrientLandscape = 1
CopyRight 2008-2019, JZREAD.COM, Inc. All Rights Reserved
皖ICP备09015033号