Time of Update: 2017-08-24
javascript教程 判斷是否為日期函數代碼 <html xmlns="HTTP://www.jzread.com/1999/xhtml"> <head> <meta HTTP-equiv=" Content-Type" content="text/html; charset=gb2312" />...
Time of Update: 2017-08-24
function checkRate(input) { var re = /^[0-9]+.? [0-9]*$/; 判斷字串是否為數字 //判斷正整數 /^[1-9]+[0-9]*]*$/ if (!re.test(input.rate.value)) { alert("請輸入數位(例:0.02)"); input.rate.focus(); retur...
Time of Update: 2017-08-24
下面為你提供的這款javascript教程 在關閉IE視窗的時候快顯視窗是一款24小時才彈出一次的,當然你也可以自定快顯視窗的時間哦。 <script language="javascript"> <!-- function SetCookie(name,value) //兩個參數,一個是cookie的名子,一個是值 { var exp = ne...
Time of Update: 2017-08-24
js正則運算式在指定位置插入資料代碼 <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "HTTP://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns="HTTP://ww...
Time of Update: 2017-08-24
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...
Time of Update: 2017-08-24
<!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/...
Time of Update: 2017-08-24
<script type="text/javascript教程"> function checkall(name) { var names=document.getelementsbyname(name); var len=names.length; if(len>0) { ...
Time of Update: 2017-08-24
telephone 電話驗證代碼 if ((document.regform.u_telphone1.value.length==0)||! checkifnumber(document.regform.u_telphone1.value)) { &nbs...
Time of Update: 2017-08-24
javascript教程中文與驗證名合法性驗證程式 <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "HTTP://www.w3.org/tr/ xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="ht...
Time of Update: 2017-08-24
javascript教程使用者註冊密碼強度驗證程式 <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "HTTP://www.w3.org/tr/ xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="htt...
Time of Update: 2017-08-24
javascript教程過濾html標籤代碼 <head> <meta HTTP-equiv="content-type" content="text/html; charset=gb2312" /> <title>javascript教程過濾html標籤代碼</title> <script&nbs...
Time of Update: 2017-08-24
js 獲取下拉式功能表的值傳給文字方塊 <script language="JavaScript"> <!-- function ShowToText(){ document.form_name.textfield_ name1.value=document.form_name.select_name.value document.form_name.textf...
Time of Update: 2017-08-24
js 利用onMouseOver與onmouseout滑鼠變數div背景樣式代碼 <html xmlns="HTTP://www.jzread.com/1999/xhtml"> <head> < meta HTTP-equiv="Content-Type" content="text/html; charset=g...
Time of Update: 2017-08-24
javascript教程 html非法字元過濾與轉換函數 <html xmlns="HTTP://www.jzread.com/1999/xhtml"> <head> <meta HTTP-equiv= "Content-Type" content="text/html; charset=gb2312" ...
Time of Update: 2017-08-24
<cfoutput> <script type="text/javascript教程"> <!-- function BASEisNotNum(theNum) { //判斷是否為數字 if (BASEtrim (theNum)=="") return true; for(var i=0;i<theNum....
Time of Update: 2017-08-24
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...
Time of Update: 2017-08-24
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "HTTP://www.jzread.com/TR/xhtml1/DTD/ xhtml1-transitional.dtd"> <html xmlns="HTTP://www.jzread.com/19...
Time of Update: 2017-08-24
<html> <head> <title>獲取HTML檔的指定元素</title> <script language="JavaScript"> function getElement1(){ alert(document.all("myH2").tagName); } fun...
Time of Update: 2017-08-24
這是一款js css教程 禁止網頁複製選擇功能,支援ie.firefox代碼哦,我們針對ie就用了 <body onselectstart="return false"> 這段代碼來實例 對於firefox就用css來定義哦, *{ -moz-user-select:none } 好了,費話不說多,快去試一下吧,可以相容ie/firefox哦。
Time of Update: 2017-08-24
javascript教程 廣告延時載入,等待載入內容方法 <head> <meta HTTP-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>無標題文檔</title> </head> <body>...