I see a strange problem with knockoutjs and jquery mobile, where if the input type is set to search, the binding fails for the same code, if the input type is set to text, the binding succeeds. Any ideas on how to fix this?
<form data-bind="jqmsubmit: search" > <input data-theme="b" name="search" id="search" type="search" data-bind="value: searchTerm"></input> </form>
with the above code, searchTerm does not update when you type text in the text box and press enter. If I change the input element to type = "text", the search will be updated, as expected.
source share