随笔分类 - [06] JavaScript代码收集
摘要:1. setInterval() ——每隔一秒自动执行方法,setInterval方法或字符串 ,毫秒,参数数组(方法的)) Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlig...
阅读全文
摘要:通过使用javascript在客户端验证输入值的有效性,能够有效的保证数据的有效性,并减轻了服务器端验证给服务器带来的负担。下面介绍函数库及使用方式: 1、验证函数库: 代码 Code highlighting produced by Actipro CodeHighlighter (freewa...
阅读全文
摘要:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tr...
阅读全文
摘要:1.文本框焦点问题onBlur:当失去输入焦点后产生该事件onFocus:当输入获得焦点后,产生该文件Onchange:当文字值改变时,产生该事件Onselect:当文字加亮后,产生该文件点击时文字消失,失去焦点时文字再出现2.网页按钮的特殊颜色style="background-color:rgb...
阅读全文
摘要://根据链接类型读取数据库中的数据 public static string GetLink(string type) { string sqlTemp = "select * from shang_cms_friends where lianjie_pic ='" + type + "'";...
阅读全文

浙公网安备 33010602011771号