<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">$(document).ready(function(){

    const inputDate = document.querySelectorAll('.inputDate input')[0];

    if(inputDate != undefined) {
        inputDate.addEventListener("focus",function (evt) {
            this.type='date';
            if (this.getAttribute("type")==="date") {
                if ("showPicker" in HTMLInputElement.prototype) {
                    this.showPicker();

                }
            }
        });
        inputDate.addEventListener("blur",function (evt) {
            if(inputDate.value == '') {
                this.type='text';
            }
        });
        // onblur="(this.type='text')"&gt;

    }
});


</pre></body></html>