title: Add onclick attribute in IE7
body: <pre><code>$(".awp_class_horizantal").attr('onclick', 'changeTextAdd(this.id)');
  </code></pre>
  
  <p>Above code is not working in IE7 but working in remaining browsers.</p>
  
  <p>Can anybody pls suggest me how to add onclick attribute which works in IE7???</p>
  
  <pre><code>$(".awp_class_horizantal").click(function() {
              changeTextAdd(this.id);
              });
  </code></pre>
  
  <p>Above code is working but it is giving unresponsive script error for me.</p>
  
  <p>I have to call changeTextAdd function in that function itself.</p>
  
  <p>Thanks</p>