I've been using this simple binding lately and I just thought I'd share. Sometimes I end up needing to construct URLs from viewmodel properties. Knockout has a built in binding that gets you there, attr.
With the built in binding, you have two options. First you can created a computed property on your viewmodel to do the concatenation and then bind the href attribute to that.
Your new post is loading...