title: Open html with parameter
body: <p>Question 1: I need to open a html file  with one parameter (string).</p>
  
  <p>The following code is just demo of large code.  I made it to let you understand my requirement.  Here is my code....</p>
  
  <p>main.html</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;p&gt;Click on the sun or on one of the planets :&lt;/p&gt;
  
  &lt;img src="http://www.w3schools.com/html/planets.gif" alt="Planets" usemap="#planetmap" style="width:145px;height:126px;"&gt;
  
  &lt;map name="planetmap"&gt;
    &lt;area shape="rect" coords="0,0,82,126" alt="Sun" href="mountain.html"&gt;
    &lt;area shape="circle" coords="90,58,3" alt="Mercury" href="mountain.html"&gt;
    &lt;area shape="circle" coords="124,58,8" alt="Venus" href="mountain.html"&gt;
  &lt;/map&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>mountain
      
      
      </p>
  
  <pre><code>&lt;h2&gt;Spectacular Mountain&lt;/h2&gt;
  &lt;img src="http://www.w3schools.com/html/pic_mountain.jpg" alt="Mountain View" style="width:304px;height:228px;"&gt;
  &lt;p id="demo"&gt;&lt;/p&gt;
  
  &lt;script language="javascript" type="text/javascript"&gt; 
  
  function myFunction(arg) {
      this.name = arg;  
  }
  
  var x = new myFunction(name)  /*HERE NAME SHOULD BE Sun/Mercury/Venus clicked by user*/
  document.getElementById("demo").innerHTML = x.name;
  
  
  &lt;/script&gt;
  &lt;input type="button" value="Back !" onclick="history.back(-1)" /&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here this.name = alt;  How can I get "alt (Sun/Mercury/Venus)"clicked by user.</p>
  
  <p>Question 2: IS there any better way instead of the following:</p>
  
  <pre><code>&lt;input type="button" value="Back !" onclick="history.back(-1)" /&gt;
  </code></pre>