Hi there I am using JQuery mobile to create a small app. For a part of the app I want to display the date and time to the user and them be unable to edit this. Currently I just have this:
div data-role="fieldcontain" class="ui-field-contain ui-body ui-br">Date:<br>
<input type="datetime-local" name="date" id="date" value="" class="ui-input-text ui-body-c ui-corner-all ui-shadow-inset">
</div>
I want to set this to the current date and time instead of the user being able to select for themselves. I have had a search but don't seem to be able to find much. I would really appreciate any help with this.