I have an application which have some images which are half colored on page load and later it changes as per logic…i have a restart button which should take back the application to the state it was when it was loaded for a first time (i.e. the images shuld be half colored )
Can this be done in jQuery mobile???
If the pages are external documents then you can use the
reloadPageoption of the$.mobile.changePage()method to reload your external document to it’s initial state.Here is an example: