0

关于 JQueryMobile Datebox 设置hideInput: "true"会导致 Header 消失?

<div data-role="page" data-theme="c" id="roster" data-add-back-btn="true">
    <div data-role="header" class="tb">
        <h1>Roster</h1>
        <input name="mydate" id="mydate" type="date" data-role="datebox" data-options='{"mode": "cal box", "hideInput": "true"}'>
    </div>

    <div data-role="content" data-theme="b" id="callback">  
          <!-- CONTENT LOADED VIA AJAX -->          
    </div>

    <div data-role="footer">
          <h4>Page Footer</h4>
    </div>
</div>

当我删除时标题是可见的,"hideInput": "true"但如果我只是更改为“false”就消失了

4

0 回答 0