How to change contents in parent div from child div?
<p>I am trying to modify the text in the parent div from child div without changeing the child div contents.</p>

<p>I have </p>

<pre><code>&lt;div id='testDiv'&gt;
    this is the test parent div
    &lt;div id='child1'&gt;
         lots of contents and child div
         ...................
    &lt;/div&gt;
    more div/child div and contents...

&lt;/div&gt;
</code></pre>

<p>in my jquery</p>

<pre><code>$('child1 div a').click(function(){
    $('#testDiv').text('new text');  //this will remove the child1 div and all the contents inside testDiv
    //I want to replace 'this is the test parent div' text to 'newt text' 
})
</code></pre>

<p>Are there anyways to get this done? Thanks a lot!</p>
