i want to embed a clickable anchor links in the code below.
eg.
'<a href="users.html?id=' + user.id + '"></a>'
how do i achieve this in the line of code below
+"<td>"+user.id+"</td>"
Code:<script type="text/javascript"> var newRow = "<tr>" +"<td>"+user.id+"</td>" +"<td>"+user.topic+"</td>" +"<td>"+user.view+"</td>" +"<td>"+user.reply+"</td>" +"<td>"+user.datetime+"</td>" +"</tr>" ; >
Bookmarks