On adding a class, .click does not trigger - Using jQuery
<p>I added a span with a class, but .click does not trigger. </p>

<p>Adding a span class code</p>

<pre><code>var TA = '&lt;span class="TS" id="'+$('#TT').attr('value')+'" style=" color:#fff; margin-left:5px; font-family:arial; font-size:12px"&gt;* '+$('#TT').attr('value')+'&lt;/span&gt;';
$('#QLT').append(TA);
</code></pre>

<p>This adds a span .TS to a div .TX. I want to trigger .TS using .click, the code</p>

<pre><code>  $('.TS').click(function() {
   alert("ok");

  });
</code></pre>

<p>But this does not trigger.  What is wrong, Appreciate all assistance.</p>

<p>Thanks
Jean</p>
