Using jQuery with a href
<p>I have a simple(?) question, I have a function which is similar.</p>

<pre><code>value = $("input[@name=typeGroup]:checked").val();
if (value == "value1") {
self.doSomething1();
}
else if (value == "value2") {
self.doSomething2();
}
</code></pre>

<p>Which is used from</p>

<pre><code>&lt;div&gt;&lt;input type='radio' name='typeGroup' value='value1' data-bind='checked: searchType' /&gt;Radio1&lt;/div&gt;

&lt;div&gt;&lt;input type='radio' name='typeGroup' value='value2' data-bind='checked: searchType' /&gt;Radio2&lt;/div&gt;
</code></pre>

<p>The thing is that, I'd like similar option on the function as <code>$("input[@name=typeGroup]:checked)</code> but for an <code>&lt;a href&gt;</code> which looks like </p>

<pre><code>&lt;a href='#' data-bind='click: clickActivateFunction' id='draw_pic'&gt;
</code></pre>

<p>Is it possible? And how would this look like?</p>
