zoukankan      html  css  js  c++  java
  • BootStrap

    效果:

    代码:

    <div class="panel panel-default" style="border: 1px solid #ffd800;">
                    <div class="panel-heading" style="background-color: #ffd800; color: #ffffff;">
                        <h5><b>请,选择上传文件:</b></h5>
                    </div>
                    <div class="panel-body">
                        <table>
                            <tr>
                                <td>
                                    <label for="exampleInputFile">选择上传文件:</label>
                                </td>
                                <td>
                                    <input id="lefile" type="file" style="display: none;"/>
                                    <div class="input-append">
                                        <input id="photoCover" class="input-large" type="text" style="height: 30px; border-radius:5px; border:1px solid #CCCCCC; padding-left:10px;" placeholder="FileUpload" />
                                        <a class="btn" onclick="$('input[id=lefile]').click();" style ="background-color:#FFD800; height:30px; color:#ffffff; 100px;">上传</a>
                                    </div>
    
                                    <script type="text/javascript">
                                        $('input[id=lefile]').change(function () {
                                            $('#photoCover').val($(this).val());
                                        });
    </script>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label for="exampleInputEmail1">打印份数:</label>
                                </td>
                                <td>
                                    <input type="email" class="form-control" id="pagenum" placeholder="PageNum" style=" 100px;" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
  • 相关阅读:
    ZOJ
    Clock(数学题)
    The Lucky Week(规律)
    POJ 3233 Matrix Power Series
    POJ 1061 青蛙的约会(扩展欧几里德算法)
    2266: number
    2263: neighbor
    2269: minval(优先队列)
    HDU
    Problem 2150 Fire Game (广搜+枚举)
  • 原文地址:https://www.cnblogs.com/KTblog/p/4837759.html
Copyright © 2011-2022 走看看