title: React.js and jquery Uncaught ReferenceError: (function) is not defined at HTMLTableRowElement.onclick
body: <p>js in my web app, i was just creating table with work, but sadly onClick on a  <code>Uncaught ReferenceError: (function) is not defined     at HTMLTableRowElement.onclick</code></p>
  
  <p>here is table code   <code>$("#usertable").append("&lt;tr onclick=\"displaySmth('" + smth_value + "')\"&gt;&lt;td&gt;" + username + "&lt;/tr&gt;&lt;/td&gt;");</code></p>
  
  <p>and function to display <code>smth_value</code></p>
  
  <pre><code>   displaySmth(somevalue){
      $("#smth_id").text(somevalue)
  }
  </code></pre>