Question

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

Was it helpful?

Solution

Try useButton: false:

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

DEMO

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top