title: How to redirect page on button click event
body: <p>I am using a button on my form. How do I link to another web page/file when clicking on that link? Here is the code I tried, but does not work.</p>
  
  <pre><code>&lt;button class="btn" data-bind="click: function() { document.location.href=$(this).attr('RiskAssessmentMain.aspx'); }"&gt;back&lt;/button&gt;
  </code></pre>