title: HTML5, Knockout url redirect function
body: <p>I have created an HTML5 application which uses knockoutjs to make call to a restful service and get/post JSON messages. 
  This is my first application using HTML5 so I am not sure how to implement a URL redirect.</p>
  
  <p>In the application I have two html pages, one is a DataGrid page which shows all the data received by doing a get rest call. I have added a hyperlink to one the field in the display which I would like to use to redirect to the details page and make the rest call to get data for that particular id and display it in the editable page later would like to save the changes.</p>
  
  <p><strong>UserGridPage.html</strong></p>
  
  <pre><code>&lt;tbody data-bind="foreach:userList"&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;a data-bind="attr:{href: userInfoUrl()}, text:userInfoId"&gt;&lt;/a&gt;&lt;/td&gt;
  &lt;td data-bind="text: UserName" &gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p><strong>UserGridPage.js</strong></p>
  
  <pre><code>MyUserInfoViewModel = function () {
  var self = this;
  self.userList = ko.observableArray();
  $.getJSON("http://localhost:8080/user/webresources/userinfo/").
          then(function (userinfos) {
              $.each(userinfos, function () {
                  self.userList.push({
                             userInfoUrl:ko.observable('/USERUI/UserEntry.html#'+this.userInfoId),
                      userInfoId:ko.observable(this.userInfoId),
                      policyHolderEmail: ko.observable(this.policyHolderEmail),
                  });
              });
          });
  </code></pre>
  
  <p>I would like to know how can UserEntry page would know which Id is getting passed to its page and also how would I make the rest call to have the Id passed to the restful URL.</p>
  
  <p>Appreciate any help with code samples, links etc..</p>
  
  <p>Thanks </p>