Label a checkbox using jquery
<p>i'm not familiar with jquery.</p>

<p>What i'm trying to do is, drag and drop a text which will be displayed as a checkbox and the checkbox should have the id and tooltip same to the dropped-text. For that i used the following code.but it's not working.please help</p>

<pre><code> &lt;script type="text/javascript"&gt;

  $(init);

  function init() {




  function addColumn(column) 
  {
    var iHtml;


    //Labeling and Tool Tip the Checkbox



   iHtml = "&lt;span title='ToolTipText'&gt;"+
   "&lt;input id='&lt;%" + column + ".ClientID%&gt;' type='checkbox' name='&lt;%" + column + ".ClientID %&gt;' /&gt;"+
    "&lt;label for='&lt;%" + column + ".ClientID%&gt;'&gt;MyCheckBox&lt;/label&gt;&lt;/span&gt;";

    return iHtml
  }
</code></pre>

<p></p>
