View Single Post
Old 02-22-2013, 07:41 PM   PM User | #3
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 952
Thanks: 7
Thanked 98 Times in 98 Posts
WolfShade is an unknown quantity at this point
Code:
function AppViewModel(){
   this.myAge = ko.observable(personalInfo.age);
   this.newAge = ko.computed(function(){return this.myAge*2;},this);
 } 
ko.applyBindings(new AppViewModel());
The above fixed it.
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote