JQuery Mobile 弹出式登录框方法

    <a href="#login" data-rel="popup" data-position-to="window" data-role="button">Login</a> 
    <div data-role="popup" id="login" data-theme="a"> 
        <form style="padding:10px 20px;"> 
            <h3>Please sign in</h3> 
            <label for="un" class="ui-hidden-accessible">Username:</label> 
            <input type="js" name="user" id="un" placeholder="username" /> 
            <label for="pw" class="ui-hidden-accessible">Password:</label> 
            <input type="password" name="pass" id="pw" placeholder="password" /> 
            <button type="submit" data-theme="b">Sign in</button> 
        </form> 
    </div> 

  

 

 

 

 

http://blog.csdn.net/besturnlee/article/details/8558836

posted @ 2013-04-06 13:45  九月光  阅读(504)  评论(0编辑  收藏  举报