I came across this issue while working with knockout.js and Html5, I haven't found how to handle it, though. In here, what matter the most is performing a click-binding right before following an Href to another page. The binding itself has an ajax method to insert data into my DB so before following the stated href it's mandatory to perform this binding.
HTML goes like this:
<div data-role="header" data-theme="b">
<a href="secondForm.html" data-icon="back" rel="external"> Back </a>
<h1> Some Text </h1>
<div class="ui-btn-right" data-role="controlgroup"
data-type="horizontal">
<a data-bind="click: linkCustomer" rel="external" id="continue"
data-role="button" data-theme="b" href="home.html">Continue</a>
</div>
</div>
It's thought that both actions would be performed, but that belief is wrong. The only action which is performed is the Href.
Do I have any error within my code?