This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input data-bind="jqAuto: { autoFocus: true }, jqAutoSource: myPeople, jqAutoValue: mySelectedGuid, jqAutoSourceLabel: 'displayName', jqAutoSourceInputValue: 'name', jqAutoSourceValue: 'guid'" /> | |
<hr/> | |
<div data-bind="text: mySelectedGuid() ? mySelectedGuid() : 'None selected'"></div> | |
<hr/> | |
For testing setting the model value elsewhere: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* $.convertJSONDates | |
* | |
* $.getJSON(…).pipe($.convertJSONDates).done(function(data){…}) | |
* | |
* Based on … | |
* | |
* jQuery.parseJSON() | |
* http://erraticdev.blogspot.com/2010/12/converting-dates-in-json-strings-using.html | |
* |