I've got some KnockoutJS code working - it pulls in a list and binds it to a table.

For the table-data which displays the name, I would like that to be an <a href=...>, but not sure how. The name is still displayed. But you can click on it.

Here's my current code:

<tbody data-bind="foreach: items">
    <tr>
        <td data-bind="text: name()"></td>
        <td data-bind="text: price()"></td>
        <td data-bind="text: endsOn()"></td>
    </tr>   
</tbody>

nothing too crazy.

I have another property called url which contains the full http://blah URL to direct the users to. Also, I would like a new tab to open up.

Any suggestions?

Edit
Report