title: Getting started on Knockout JS
body: <p>I am currently developing using ASP.NET, and I'd like to get started on Knockout JS... Basically what I've done is I've copy-pasted the code provided in the first tutorial.</p>
  
  <p>So I put this into my <code>head</code>:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function() {
          // This is a simple *viewmodel* - JavaScript that defines the data and
          behavior of your UI
  
          function AppViewModel() {
              this.firstName = ko.observable("Bert");
              this.lastName = ko.observable("Bertington");
  
              this.fullName = ko.computed(function() {
              return this.firstName() + " " + this.lastName();    
          }, this);
  
          this.capitalizeLastName = function() {
              var currentVal = this.lastName();        // Read the current value
              this.lastName(currentVal.toUpperCase()); // Write back a modified value
          };
      }
  
      // Activates knockout.js
      ko.applyBindings(new AppViewModel());
      }();
  &lt;/script&gt;
  </code></pre>
  
  <p>...along with</p>
  
  <pre><code>&lt;script type="text/javascript" src="Scripts/jquery-1.7.1.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="Scripts/knockout-2.0.0.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>In my <code>body</code> I placed</p>
  
  <pre><code>&lt;!-- This is a *view* - HTML markup that defines the appearance of your UI --&gt;
  &lt;p&gt;
      First name: &lt;strong data-bind="text: firstName"&gt;&lt;/strong&gt;
  &lt;/p&gt;
  &lt;p&gt;
      Last name: &lt;strong data-bind="text: lastName"&gt;&lt;/strong&gt;
  &lt;/p&gt;
  &lt;p&gt;
      First name:
      &lt;input data-bind="value: firstName" /&gt;&lt;/p&gt;
  &lt;p&gt;
      Last name:
      &lt;input data-bind="value: lastName" /&gt;&lt;/p&gt;
  &lt;p&gt;
      Full name: &lt;strong data-bind="text: fullName"&gt;&lt;/strong&gt;
  &lt;/p&gt;
  &lt;button data-bind="click: capitalizeLastName"&gt;
      Go caps&lt;/button&gt;
  </code></pre>
  
  <p>The code was all taken from Knockout JS's tutorial, but somehow the values don't bind themselves automatically--in other words it doesn't work for me. Am I missing something here?</p>