I send json data from my server to the view in MVC project.
Here is the link I send as a json:
dataCell.textCell = "<a onmouseout='HideFlyOut()' ;="" class='theme_color' onmouseover='ShowFlyOut('" + encryptedRowPass + "') href=\documentviewer.aspx?" + encryptedValue + "'<i class='fa fa-paperclip fa-flip-horizontal fa-2x theme_color'></i></a>"
Now in my UI side I'm getting this data which is one row and parse it to json:
var sendDataRowsToView = JSON.parse(datarows)
Then I"m trying to place this data into a <td> in my dom:
tableBody.append('<td> + sendDataRowsToView + </td>')
I'm getting the data and all works fine but it doesn't bind it to the dom:
Like I'm expecting to see for exmaple:
<td><a></a></td> which bind all the link from the server, but for some reason I can't see this data in my dom.
what am I doing wrong?