title: Passing more than two parameter in onclick function in datatable
body: <p>I have a problem with the syntax in passing more than two parameter in onclick function which is the <strong>drawStockList</strong>. All I want is pass the value of RRNo, DateReived, Status and Remarks.. The problem is the <strong>comma(,)</strong>.</p>
  
  <p>Here's my code.</p>
  
  <pre><code>"aoColumnDefs": [
  
                  {
                      "mRender": function (data, type, row) {
                          return '&lt;a id="txtRRNo" href="javascript:void(0);" onclick="drawStockList('+ row.RRNo + ',' + row.DateReceived + ',' + row.Status + ',' + row.Remarks + ');"&gt;' + row.RRNo + '&lt;/a&gt;'
                      }, "aTargets": [0]
                  },
  </code></pre>
  
  <p>Any help would be appreciated. Thanks!</p>