I am trying to pass parameters to function using single quote however it is showing error due to missing quote but I am unable to figure out where it is I am using inside datatable

```
onclick="assign_id(' + aData['id'] + ',string value' + ')"

expected output:
     onclick="assign_id('dbvalue','string')"

 "fnCreatedRow": function (nRow, aData, iDataIndex)
            {
    var action_link = '<a class="dropdown-item" onclick="assign_id(' + aData['db value here'] + ',' some string here ')">Delivered</a>';
},

```