I have, what I think is a simple MVVM example, where I can't get the displayed value to update. I think there's something very simple I must be missing here.
There's a demo at: http://jsfiddle.net/BrianVallelunga/UzLED/
Basically, I have a view model with a date. I have buttons that change the date. Finally, I have a span bound to a function that formats the date. For some reason the formatted value never changes, despite the date itself changing. Any thoughts?
There's a demo at: http://jsfiddle.net/BrianVallelunga/UzLED/
Basically, I have a view model with a date. I have buttons that change the date. Finally, I have a span bound to a function that formats the date. For some reason the formatted value never changes, despite the date itself changing. Any thoughts?