How to properly replace jquery mobile pages in the DOM -
i using jquery mobile , custom i18n functionality. when user changes language settings want remove existing pages , put them again dom (i using handlebars.js new pages shown in new language).
what proper way accomplish this? removing pages .remove() , appending them dom not way go - history gets broken, pages don't enhanced , i'm not sure if possible change current page way.
is possible or should consider refactoring i18n doesn't require refreshing whole dom?
Comments
Post a Comment