码迷,mamicode.com
首页 >  
搜索关键字:text    ( 52583个结果
JS练习题 ( 下拉菜单;好友选中输入)
题一、左侧菜单下拉 做题思路:先做菜单和子菜单,把子菜单默认隐藏。再用JS调样式。 <style type="text/css">*{ margin:0px auto; padding:0px}.text1{ width:180px; height:39px; border-bottom:1px s ...
分类:Web程序   时间:2016-09-26 15:54:15    阅读次数:179
关于HTML的一切(一)
1、元素:指的是从开始标签到结束标签的所有代码 2、HTML链接: 去除下划线:text-decoration:none; href属性:指向另一个文档的链接 name属性:创建文档内的链接 target="_self":在本页面打开 target="_blank":在新页面打开 target="t ...
分类:Web程序   时间:2016-09-26 14:43:14    阅读次数:147
JS中修改属性
<!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <script type="text/javascript"> window.onload=function( ...
分类:Web程序   时间:2016-09-26 14:38:47    阅读次数:255
例子:向列表内添加数据
<select id="sel" style="width:200px;" size="10"> <option>11</option> <option>22</option> <option>33</option></select><input type="text" id="nr" /><inp ...
分类:其他好文   时间:2016-09-26 14:35:34    阅读次数:113
简单的css js控制table隔行变色
(1)用expression 鼠标滑过变色: <style type="text/css"><!-- table { background-color:#000000; cursor:hand; width:100%; }td {onmouseover: expression(onmouseover ...
分类:Web程序   时间:2016-09-26 14:30:57    阅读次数:200
正则表达式特殊验证符;非空、相等、范围验证;trim():去掉字符串的前后空格;onblur:失去焦点;
<body><form action="lizi1.html" method="post"><input type="text" name="uid" id="uid" onblur="Check()" /> <input type="text" name="pw1" id="pw1" /><inp ...
分类:其他好文   时间:2016-09-26 13:08:59    阅读次数:248
jmobile学习之路 ----检测屏幕宽度
<script type="text/javascript"> window.onresize = function(){ var myh1 = document.getElementById("shuchu"); myh1.innerHTML = document.documentElement. ...
分类:其他好文   时间:2016-09-26 13:07:03    阅读次数:97
PostgreSQL类型转换
1.int装string select CAST (1234 AS text) --5 附: PostgreSQL 类型转换函数 to_char (timestamp, text ) to_char ( double precision , text ) ...
分类:数据库   时间:2016-09-26 13:05:25    阅读次数:202
JS 异步加载的方法
(1) defer,只支持IE : <script type="text/javascript" defer="defer"> </script> (2) async:属性 <script type="text/javascript" src="demo_async.js" async="async ...
分类:Web程序   时间:2016-09-26 12:58:23    阅读次数:162
表单验证
<form action="lizi1.html" method="post"> 非空验证 <input type="text" name="uid" id="uid" onblur="Check()" /> <input type="submit" value="确定" id="btn" oncl ...
分类:其他好文   时间:2016-09-26 12:52:41    阅读次数:117
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!