title: Set frame source of frame2 from button in frame1?
body: <p>I have a HTML page which is divided into two frame sets,
  the first frame contains 4 buttons, the second frame shows forms, only 1 of 4 forms can be shown according to which button is clicked. </p>
  
  <p>e.g. if the user clicks on button 'form1' in frame1, the 2nd frame should show 'FORM1' if the user clicks on button 'frame3' in frame1, the 2nd frame should show 'FORM3'.</p>
  
  <p>What I need is to be able to change the source of the form in the second frame based on the button clicked in the first frame. </p>
  
  <p>Here is main frame file:</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;User Management&lt;/title&gt;
      &lt;/head&gt;
  
      &lt;frameset rows="9% ,91%" &gt;
          &lt;frame src="buttons.php" 
                 name='Frame1' 
                 scrolling="no" 
                 name="work_disply" 
                 noresize="noresize" /&gt;
  
          &lt;frame src="form1.php" 
                 name='Frame2' 
                 scrolling="yes" 
                 name="work_ground" 
                 noresize="noresize" /&gt;
      &lt;/frameset&gt;
  &lt;/html&gt;
  </code></pre>