title: .color JQuery not working in Chrome/Safari
body: <p>I have a piece of jquery which is working fine on firefox and ie but not working in chrome and safari</p>
  
  <p>here it is</p>
  
  <pre><code>if (intCurrPortionId == intOldPortionId) {
      $('#' + portionCell + '').css("backgroundColor", "green");
  } else {
      $('#' + portionCell + '').css("backgroundColor", "red");
  }
  </code></pre>
  
  <p>and this is not working..
  m calling this jquery on checkbox onchange event</p>
  
  <p>EDIT: 
  It is not executing the function in chrome and safari.. i added the alert in the code and found out that no alerts were popping... now how to tackle it</p>