문제

I am using jqm date box as follows

    <div class="ui-block-a" style="width:35%;">
        <input name="mydate" id="myDate" type="date" data-role="datebox" data-theme="c" data-options='{"mode": "datebox","noButtonFocusMode": true,"noButton":true,"overrideDateFormat":"%d-%m-%Y","centerHoriz": true,"closeCallback": "dateChange();"}'/>
    </div>

In my text box there is a button and I need to hide the button , what I can do?

Thank you

도움이 되었습니까?

해결책

Try useButton: false:

<input name="Date1" id="Date1" type="date" data-role="datebox" data-options='{"mode": "calbox", "useButton": false}' />

DEMO

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top