zoukankan      html  css  js  c++  java
  • 20151217jquery学习笔记--注册表单

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>知问前端</title>
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery.ui.js"></script>
    <script type="text/javascript" src="js/index.js"></script>
    <link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
    <link rel="stylesheet" href="css/smoothness/jquery.ui.css" type="text/css" />
    <link rel="stylesheet" href="css/style.css" type="text/css" />
    </head>
    <body>
    
    
    <div id="header">
    	<div class="header_main">
    		<h1>知问</h1>
    		<div class="header_search">
    			<input type="text" name="search" class="search" />
    		</div>
    		<div class="header_button">
    			<button id="search_button">查询</button>
    		</div>
    		<div class="header_member">
    			<a href="###" id="reg_a">注册</a> | <a href="###" id="login_a">登录</a>
    		</div>
    	</div>
    </div>
    
    
    <div id="reg" title="会员注册">
        <p><label for="user">账号:</label>
    	<input type="text" name="user" class="text"  id="user" title="请输入账号,不少于2位"/>
        <span class="star">*</span>
        </p>
        <p><label for="pass">密码:</label>
    	<input type="password" name="pass" class="text"  id="pass" title="请输入密码,不少于6位"/>
        <span class="star">*</span>
        </p>
        <p><label for="email">邮箱:</label>
    	<input type="text" name="email" class="text"  id="email" title="请输入正确的邮箱"/>
        <span class="star">*</span>
        </p>
        <p>
         <label>性别:</label>
         <input type="radio" name="sex" value="male" id="male" checked="checked"><label for="male">男</label></input>
         <input type="radio" name="sex" value="female" id="female"><label for="female">女</label></input>
        </p>
        <p><label for="date">生日:</label>
    	<input type="text" name="date"  readonly="readonly"class="text"  id="date"/>
        </p>
    </div>
    
    
    
    </body>
    </html>
    

      

    $(function () {
    
    	$('#search_button').button({
    		
    		label:'搜索',
    		icons:{
    			primary:'ui-icon-search',
    			
    			},
    			
    		});
    
    	$('#reg').dialog({
    		autoOpen:true,
    		resizable:false,
    		modal:true,
    		320,
    		height:340,
    		buttons:{
    			'提交':function(){
    				
    				}
    			}
    		});
    	$('#reg').buttonset();
    	$('#date').datepicker();
    	$('#reg input[title]').tooltip();
    });
    

      

  • 相关阅读:
    Python中if __name__ == '__main__':作用
    mac 用macports给python装opencv
    (转)学习&使用技术的四种层次
    图像处理入门,一些简单的基于像素几何变换和实现
    基于水平投影,垂直投影的字符图像分割思路和代码实现
    转:Cannot make a static reference to the non-static解决办法
    BP神经网络学习和c++例子程序代码
    python中初始化一个数组用来存储多张图片
    假期第二周周总结
    假期第一周周总结
  • 原文地址:https://www.cnblogs.com/xiaoduc-org/p/5055172.html
Copyright © 2011-2022 走看看