title: How to display a message in a pop up window
body: <p>I have a pop up window function where when a button is clicked the window does pop up. Now the pop up window does not display anything, for a test I want the pop up window to display the word "Session". But I don't know how to do this.</p>
  
  <p>Am I supposed to write the word "Session" in another page and link to that page or is it possible to write the word "Session" on the same page and link it to that section of the page?</p>
  
  <p>I want the latter to happen but I don't know how to do it.</p>
  
  <p>Below is my code:</p>
  
  <pre><code>&lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html;charset=utf-8" /&gt;
          &lt;title&gt;Create a Session&lt;/title&gt;
          &lt;script type="text/javascript"&gt;
  
                      function openSessionPopup (session) {
   window.open(session,
   'window',
   'width=500,height=500,scrollbars=yes,status=no');
   }
  
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;form action="create_session.php" method="post" name="sessionform"&gt;
  &lt;p&gt;&lt;input class="questionBtn" type="button" value="Prepare Questions" name="prequestion" onClick="openSessionPopup(this.href); return false"  /&gt;&lt;/p&gt;      
  &lt;/form&gt;
  
  &lt;/body&gt;
  </code></pre>