OK, so I have a search button of the sort...
<button onclick="_app.validateForm()">Search</button>
and then in javascript...
validateForm : function() {
// gather and validate inputs. If all is well...
$.UIGoToArticle('#search_results');
// show them the $.UIBusy stuff and fire the $.ajax request
}
Yet, and I've tested this in multiple browsers and devices, every single time the $.UIGoToArticle line is executed, I get
Uncaught TypeError: Cannot read property 'id' of undefined
Am I doing something wrong? I've searched in the documentation and I find no other way to go from my #search screen to the #search_results one.
Trian
PS. I am running version 3.8.0.