![]() |
Knockout.js: n00b can't calculate
Hello, everyone.
I'm just now starting to learn Knockout, and I'm apparently unable to learn how to calculate values in Knockout. I've tried this several different ways, but my current code (pseudo-code) is: Code:
In another <span data-bind="text: myAge"></span> years, I'll be <span data-bind="text: newAge"></span>Code:
function AppViewModel(){What am I doing incorrectly? Thank you, |
Has _anyone_ successfully implemented calculations using Knockout.js?
|
Code:
function AppViewModel(){ |
| All times are GMT +1. The time now is 01:09 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.