Using .append() with click()
<p>Hello i want to replace the text in div when user click on it i have tried this code but there is something wrong with my code </p>

<pre><code>&lt;script&gt;
$(document).ready(function(){
    //alert('hi');
    $('div').append('hi')

    $('div').click(function(){
        $('this').append('how r u');

        })

    })
&lt;/script&gt;
</code></pre>

<p>please help</p>

<p>Thanks </p>
