title: Insert value in div replacement jquery
body: <pre><code>function getProductAttribute(event)
  {    
      checkboxID = '#' + (domElement.attr('rel'));
  
      $("div[rel=$checkboxID").removeClass('on').addClass('off');    
  }
  
  &lt;div class="off" rel="group_6" onclick="getProductAttribute(event);"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>This is not working, I hope someone can help me. I need the <code>$("div[rel=group_6")</code></p>
  
  <p>I can't use <code>$('.off).live('click', function () { }</code></p>