javascript - dxDateBox doesn't want to display Date from database -


i tried display specific date database doesn't want work (the field empty). please me.

query:

var sejour = json.parse(select_sejourbyid(mydb, params.dc)); 

html:

<div class="dx-field">     <div class="dx-field-label">date début</div>     <div class="dx-field-value">         <div id="dated" data-bind="dxdatebox: { value: dated, format: 'date' }"></div>     </div> </div> 

js:

dated : ko.observable(new date(sejour.date_debut)), 


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -