The Ratchet single-page application framework uses push.js to load new pages into view. For example:
<a href="link.html">link<a>
This will use push to replace everything in the .content div with the .content of link.html. It will also update .bar-title and .bar-tab if you have them on both pages.
I would like to use the same mechanism with a Javascript function call. Before I start patching Ratchet, is there an elegant way to do that?
Thanks!