Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537 Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537
unction GUID(project) {
//隨機數(shù)函數(shù)
function random() {
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
}
證碼在很多網(wǎng)站的登錄注冊頁面都是很經(jīng)常用到的,今天只介紹一下用js來隨機生成驗證碼的效果:
點擊圖中的“驗證碼”任何一個位置,可以隨機生成下一個驗證碼:
html+css:
js:
*請認真填寫需求信息,我們會在24小時內(nèi)與您取得聯(lián)系。