how to change the attribute of a .html file just loaded using jquery
<p></p>

<pre><code>&lt;html &gt;
&lt;head&gt;
&lt;title&gt;main files&lt;/title&gt;
&lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;div id="kk"&gt;
&lt;/div&gt;
&lt;script&gt;
    $("#kk").load("template.html");
    var new_id="234";
    $(#tkk).attr({
                   id : this.id + '_' + new_id,
                   name: this.name + '_' + new_id

                 });            

&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>&lt;------------------------------------------------------------------></p>

<p>template.html</p>

<pre><code>&lt;h2&gt;Greetings&lt;/h2&gt;
&lt;div id="tkk" class="container"&gt;
  &lt;div class="inner"&gt;Hello&lt;/div&gt;
  &lt;div class="inner"&gt;Goodbye&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>here i want to change the id of tkk after being loaded in main.html file ,but its not working</p>
