title: passing the value one html page to another html javascript function
body: <p>I need to pass the value one html page to another html javascript function using javascript code. How to pass value. Thanks in advance </p>
  
  <pre><code>view.cshtml:
  b.on('click', function () {
      document.location.href =  + '?Id=' + sData; // need to pass the value
  });
  
  index.cshtml:
  function getId(data) { // i need to get the data here
  }
  </code></pre>