I have the following code as part of a border layout in my main.aspx file :


<ext:Panel ID="Panel7" runat="server">


<div class="content">


<p>Please use the navigation on the left to browse the site</p>

<p>If you need any help please contact us</p> 




I want to change/update the content the content div from my custom Javascript.


    <div class="content">
I am doing :

    var a = Ext.getCmp('Panel7').body.dom;
    a.innerHTML = '<div class="content"> + somecontent + '
I want to avoid having to put the wrapper div everytime. Is there a way I can just change what is inside the div. I used the
But it doesn't work in IE 7. Please help. Thanks