Not able to fill the textboxes in frameset. ? how can i do that
<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;script type="text/javascript"&gt;
   function load()
    {
      var the_form = parent.document.frames['myFrame'].document.forms['form1'];
       var source = the_form.elements['Login1_UserName'];
         var target = the_form.elements['Login1_Password'];
        alert('');
          }
 &lt;/script&gt;
  &lt;/head&gt;

 &lt;frameset&gt;
   &lt;frame name="myFrame" src="http://xyz.com/" onload="load()" /&gt;
 &lt;/frameset&gt;
  &lt;/html&gt;
</code></pre>
