reading content of .aspx using javascript
<p>i am using javascript to read the content of .aspx page. but i am not able to read it. i am using javascript as:</p>

<pre><code>function edit(headtext,totext, bodytext, footertext){
        alert('lll');
         //var xmlDoc=new ActiveXObject("MSXML.DOMDocument");
         xmlDoc.async="false";
         xmlDoc.load("theme3ex.aspx");
         var students = xmlDoc.documentElement;
         alert('0000');
         var student = students.childNodes(0);
         document.getElementById('txtareahead').innerHTML = headtext;
         document.getElementById('txtareato').innerHTML = totext;
         document.getElementById('txtareabody').innerHTML = bodytext;
         document.getElementById('txtareafooter').innerHTML = footertext;
         location.href = "MailSender.aspx";
         }
</code></pre>

<p>is there any problem eith my javascript..</p>
