Why i can not trigger the jquery function?
<p>This is a button to close the click but it fail and not work. I would like to know what is the tab ID since i did not think i assign one when i create a tab.</p>

<p>Thank you.</p>

<p>This is my attempt</p>

<p>js</p>

<pre><code>$("#closeTab").click(function() {
window.parent.$('#tt').tabs('close','Create List');
});
</code></pre>

<p>html</p>

<pre><code>&lt;input type="button" id="closeTab" value="Cancel" class="submit"/&gt; 
</code></pre>

<p><strong>I found my js code is working</strong> but the button can not trigger it? Why? thank you</p>

<p>latest try:</p>

<pre><code>    &lt;script&gt;
$(document).ready(function(){   
$("#addlist").validate();
}); 


$(function(){
  $("#closeTab").click(function() {
    window.parent.$('#tt').tabs('close','Create List');
  });
});

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

<p>It still doesn't work so i think it is because the upper function ? How to fix this? </p>

<p>================================================================================
Also, are <strong>there any ways to clear my session in using this jquery function</strong> (what should i add for instance)?**Thanks</p>
