title: How to open specific html in one frame from being in another frame?
body: <p>I have a frames in frameset as follow : </p>
  
  <pre><code>&lt;frameset rows="75%,25%"&gt;
      &lt;frameset cols="20%,80%"&gt;
          &lt;frame src="TreeGroup.jsp" name="left" id="f1"/&gt;
          &lt;frame src="DisplayMap.jsp"   name="top" id="f2"/&gt;
      &lt;/frameset&gt;
      &lt;frame src="Tabs.jsp" name="bottom"/&gt;
  &lt;/frameset&gt;  
  </code></pre>
  
  <p>in frame <code>f1</code> I have <code>context menu</code> options so If I click <code>AddVehicle</code> option in frame <code>f1</code> it should open new jsp/html in frame2 (<code>f2</code>). So in Javascript function I did like this,</p>
  
  <pre><code> function addVehicle()
   {
     alert("In addVehicle");
  //parent.top.location.href="http://localhost:8080/ITS_Server/Vehicle_Registration.jsp";
     top.frames['top'].location.href = "http://localhost:8080/ITS_Server/Vehicle_Registration.jsp?gname="+grp_name+"&amp;did="+'&lt;%=uid%&gt;', "toolbar=yes, scrollbars=yes, resizable=yes, top=100,bottom=200, left=200, width=900, height=500";
  
   }
  </code></pre>
  
  <p>Here The problem I am facing is , <code>top.frames['top'].location.href</code> is working fine only if I remove all the parameters to URL and also it is not open in <code>f2</code> frame it opens in a full window. How to solve this can anyone help me inthis please.</p>